Skip to main content

OIDC Dynamic Client Registration API

Download OpenAPI (YAML)Version 1.1.0

Base URL: https:/localhost:9443/api/identity/oauth2/dcr/v1.1

The OAuth2 Dynamic Client Registration Endpoint (version 1.1.0).

Download the OpenAPI definition (YAML)

Security schemes​

BasicAuth: HTTP basic

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize

OAuth2 DCR​

Get OAuth2 application information​

GET /register

This API is used to get/retrieve an OAuth2 application by client_name. Scope(Permission) required: internal_dcr_view

Parameters

NameInTypeRequiredDescription
client_namequerystringYes

Unique identifier of the OAuth2 client application.

Responses

CodeDescriptionSchema
200

Successfully Retrieved

application
401

Unauthorized

error
500

Server Error

error

Registers an OAuth2 application​

POST /register

This API is used to create an OAuth2 application. If your want to create your application to use the implicit or authorization_code grant types, you need to provide the redirect_uris field in your request. If you are using any other grant type, such as password, you don't need to send the redirect_uri field in the request. Check the sample request given below.

Scope(Permission) required: internal_dcr_create

Request body (required): application/json

Application information to register.

Schema: registrationRequest

41 properties
NameTypeRequiredDescription
redirect_urisarray of stringYes
client_namestringYes
client_idstring
client_secretstring
grant_typesarray of string
jwks_uristring
urlstring
ext_param_client_idstring
ext_param_client_secretstring
contactsarray of string
post_logout_redirect_urisarray of string
request_urisarray of string
ext_param_sp_templatestring
backchannel_logout_uristring
backchannel_logout_session_requiredboolean
ext_application_display_namestring
token_type_extensionstring
ext_application_ownerstring
ext_application_token_lifetimeinteger (int64)
ext_user_token_lifetimeinteger (int64)
ext_refresh_token_lifetimeinteger (int64)
ext_id_token_lifetimeinteger (int64)
ext_pkce_mandatoryboolean
ext_pkce_support_plainboolean
ext_public_clientboolean
token_endpoint_auth_methodstring
token_endpoint_auth_signing_algstring
sector_identifier_uristring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring
software_statementstring
request_object_signing_algstring
tls_client_auth_subject_dnstring
require_signed_request_objectboolean
require_pushed_authorization_requestsboolean
tls_client_certificate_bound_access_tokensboolean
subject_typestring
request_object_encryption_algstring
request_object_encryption_encstring
ext_allowed_audiencestring

Responses

CodeDescriptionSchema
201

Created

application
400

Bad Request

error
409

Conflict

error
500

Server Error

error

Get OAuth2 application information​

GET /register/{client_id}

This API is used to get/retrieve an OAuth2 application by client_id. Scope(Permission) required: internal_dcr_view

Parameters

NameInTypeRequiredDescription
client_idpathstringYes

Unique identifier of the OAuth2 client application.

Responses

CodeDescriptionSchema
200

Successfully Retrieved

application
401

Unauthorized

error
500

Server Error

error

Updates an OAuth2 application​

PUT /register/{client_id}

This API is used to update an OAuth2 application. Scope(Permission) required: internal_dcr_update

Parameters

NameInTypeRequiredDescription
client_idpathstringYes

Unique identifier for the OAuth2 client application.

Request body (required): application/json

Application information to update.

Schema: updateRequest

33 properties
NameTypeRequiredDescription
redirect_urisarray of string
client_namestring
client_idstring
client_secretstring
grant_typesarray of string
backchannel_logout_uristring
backchannel_logout_session_requiredboolean
ext_application_display_namestring
token_type_extensionstring
ext_application_ownerstring
ext_application_token_lifetimeinteger (int64)
ext_user_token_lifetimeinteger (int64)
ext_refresh_token_lifetimeinteger (int64)
ext_id_token_lifetimeinteger (int64)
ext_pkce_mandatoryboolean
ext_pkce_support_plainboolean
ext_public_clientboolean
token_endpoint_auth_methodstring
token_endpoint_auth_signing_algstring
sector_identifier_uristring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring
software_statementstring
request_object_signing_algstring
tls_client_auth_subject_dnstring
require_signed_request_objectboolean
require_pushed_authorization_requestsboolean
tls_client_certificate_bound_access_tokensboolean
subject_typestring
request_object_encryption_algstring
request_object_encryption_encstring
ext_allowed_audiencestring

Responses

CodeDescriptionSchema
200

Successfully updated

application
400

Bad Request

error
409

Conflict

error
500

Server Error

error

Delete OAuth2 application​

DEL /register/{client_id}

This API is used to delete an OAuth2 application by client_id. Scope(Permission) required: internal_dcr_delete

Parameters

NameInTypeRequiredDescription
client_idpathstringYes

Unique identifier of the OAuth2 client application.

Responses

CodeDescriptionSchema
204

Successfully deleted

401

Unauthorized

error
500

Server Error

error

Schemas​

registrationRequest​

Type: object

41 properties
NameTypeRequiredDescription
redirect_urisarray of stringYes
client_namestringYes
client_idstring
client_secretstring
grant_typesarray of string
jwks_uristring
urlstring
ext_param_client_idstring
ext_param_client_secretstring
contactsarray of string
post_logout_redirect_urisarray of string
request_urisarray of string
ext_param_sp_templatestring
backchannel_logout_uristring
backchannel_logout_session_requiredboolean
ext_application_display_namestring
token_type_extensionstring
ext_application_ownerstring
ext_application_token_lifetimeinteger (int64)
ext_user_token_lifetimeinteger (int64)
ext_refresh_token_lifetimeinteger (int64)
ext_id_token_lifetimeinteger (int64)
ext_pkce_mandatoryboolean
ext_pkce_support_plainboolean
ext_public_clientboolean
token_endpoint_auth_methodstring
token_endpoint_auth_signing_algstring
sector_identifier_uristring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring
software_statementstring
request_object_signing_algstring
tls_client_auth_subject_dnstring
require_signed_request_objectboolean
require_pushed_authorization_requestsboolean
tls_client_certificate_bound_access_tokensboolean
subject_typestring
request_object_encryption_algstring
request_object_encryption_encstring
ext_allowed_audiencestring

updateRequest​

Type: object

33 properties
NameTypeRequiredDescription
redirect_urisarray of string
client_namestring
client_idstring
client_secretstring
grant_typesarray of string
backchannel_logout_uristring
backchannel_logout_session_requiredboolean
ext_application_display_namestring
token_type_extensionstring
ext_application_ownerstring
ext_application_token_lifetimeinteger (int64)
ext_user_token_lifetimeinteger (int64)
ext_refresh_token_lifetimeinteger (int64)
ext_id_token_lifetimeinteger (int64)
ext_pkce_mandatoryboolean
ext_pkce_support_plainboolean
ext_public_clientboolean
token_endpoint_auth_methodstring
token_endpoint_auth_signing_algstring
sector_identifier_uristring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring
software_statementstring
request_object_signing_algstring
tls_client_auth_subject_dnstring
require_signed_request_objectboolean
require_pushed_authorization_requestsboolean
tls_client_certificate_bound_access_tokensboolean
subject_typestring
request_object_encryption_algstring
request_object_encryption_encstring
ext_allowed_audiencestring

application​

Type: object

15 properties
NameTypeRequiredDescription
client_idstring
client_secretstring
client_secret_expires_atinteger (int64)
redirect_urisarray of string
grant_typesarray of string
client_namestring
ext_application_ownerstring
ext_application_token_lifetimeinteger (int64)
ext_user_token_lifetimeinteger (int64)
ext_refresh_token_lifetimeinteger (int64)
ext_id_token_lifetimeinteger (int64)
ext_pkce_mandatoryboolean
ext_pkce_support_plainboolean
ext_public_clientboolean
ext_allowed_audiencestring

error​

Type: object

3 properties
NameTypeRequiredDescription
errorstring
error_descriptionstring
traceIdstring

Was this page helpful?