Policy based access control for OIDC OP
This page describes how to protect OIDC OP with policies.
Setup steps
Enabling the feature
This function is disabled by default. Follow the steps below to enable it.
- Display the administrator console.
- Move to
Target realm
->Agents
->OAuth 2.0/OpenID Connect Client
tab ->Target client
. - Check
Policy Based Endpoint Protection
and click theSave
button.
Defining a new resource type
- Display the administrator console.
- Move to
Target realm
->Authorization
->Resource Types
. - Enter each parameter and click the
Create
button. You can set any name for theName
(other items are fixed).
Item | Setting |
---|---|
Name | (any) |
Pattern | client_id=* |
Action | IssueToken |
Defining a new policy set
- Display the administrator console.
- Move to
Target realm
->Authorization
->Policy Sets
. -
Click the
New Provider Policy Set
button. - Enter each parameter and click the
Create
button.
Item | Setting |
---|---|
Id | OAuthClientService |
Name | (any) |
Resource Types | (The name of the resource type you created) |
Adding policies to the policy set
- Display
OAuthClientService
created in step of Defining a new policy set. - Click the
New Policy
button. -
Enter each parameter and click the
Create
button.Item Setting Name (any) Resource Types (The name of the resource type you created) Resources (Client ID of target RP) - Set
Actions
,Subjects
, andEnvironments
for the created policy.