Skip to main content

Dynamic Client Registration Request Policy

Dynamic Client Registration Request Policy​

Dynamic Client Registration Request Policy is a policy designed to engage in the request flow of the Dynamic Client Registration Request. It will perform the below tasks.

  • Validate JWT signature in Dynamic Client Registration create and update requests
  • Decode JWT Payload for DCR create and update requests with JWT payloads
  • Add Mandatory parameters for Identity Server DCR API for DCR create and update requests
  • Check whether the token is bound to the correct client id for DCR retrieval, update and delete requests

Create an API Level Policy by following the Creating API Level Policy and add to all API resources. Find the details to create the policy below.

General Details​

FieldDescription
NameDynamic Client Registration Request Policy
Version1 (can be any)
DescriptionPolicy to validate and modify DCR Request
Applicable FlowsRequest
Supported API TypesHTTP

Policy File​

Upload the dynamicClientRegistrationRequestPolicy.j2 policy file which resides inside the <APIM_HOME>/<OB_APIM_ACCELERATOR _HOME>/repository/resources/mediation-policies folder.

Policy Attributes​

Attribute nameDisplay nameDescriptionRequiredTypeExample Values
validateRequestJWTValidate Request JWTDetermine whether the request JWT signature should be validatedtrueBooleantrue/false
jwksEndpointNameJWKS Endpoint NameJWKS Endpoint field name in the request.trueStringsoftware_jwks_endpoint
clientNameAttributeNameclient Name Attribute NameThe field name of the attribute that should be used as the name of the application. This value will be used if useSoftwareIdAsAppName is disabled.trueStringsoftware_client_name
useSoftwareIdAsAppNameUse Software Id As App NameDetermine whether the software Id should be used as application nametrueBooleantrue/false
jwksEndpointTimeoutjwksEndpointTimeoutTimeout for the JWKS EndpointtrueInteger3000

Was this page helpful?