OIDC Dynamic Client Registration API
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
client_name | query | string | Yes | Unique identifier of the OAuth2 client application. |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | Type | Required | Description |
|---|---|---|---|
redirect_uris | array of string | Yes | |
client_name | string | Yes | |
client_id | string | ||
client_secret | string | ||
grant_types | array of string | ||
jwks_uri | string | ||
url | string | ||
ext_param_client_id | string | ||
ext_param_client_secret | string | ||
contacts | array of string | ||
post_logout_redirect_uris | array of string | ||
request_uris | array of string | ||
ext_param_sp_template | string | ||
backchannel_logout_uri | string | ||
backchannel_logout_session_required | boolean | ||
ext_application_display_name | string | ||
token_type_extension | string | ||
ext_application_owner | string | ||
ext_application_token_lifetime | integer (int64) | ||
ext_user_token_lifetime | integer (int64) | ||
ext_refresh_token_lifetime | integer (int64) | ||
ext_id_token_lifetime | integer (int64) | ||
ext_pkce_mandatory | boolean | ||
ext_pkce_support_plain | boolean | ||
ext_public_client | boolean | ||
token_endpoint_auth_method | string | ||
token_endpoint_auth_signing_alg | string | ||
sector_identifier_uri | string | ||
id_token_signed_response_alg | string | ||
id_token_encrypted_response_alg | string | ||
id_token_encrypted_response_enc | string | ||
software_statement | string | ||
request_object_signing_alg | string | ||
tls_client_auth_subject_dn | string | ||
require_signed_request_object | boolean | ||
require_pushed_authorization_requests | boolean | ||
tls_client_certificate_bound_access_tokens | boolean | ||
subject_type | string | ||
request_object_encryption_alg | string | ||
request_object_encryption_enc | string | ||
ext_allowed_audience | string |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
client_id | path | string | Yes | Unique identifier of the OAuth2 client application. |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
client_id | path | string | Yes | Unique identifier for the OAuth2 client application. |
Request body (required): application/json
Application information to update.
Schema: updateRequest
33 properties
| Name | Type | Required | Description |
|---|---|---|---|
redirect_uris | array of string | ||
client_name | string | ||
client_id | string | ||
client_secret | string | ||
grant_types | array of string | ||
backchannel_logout_uri | string | ||
backchannel_logout_session_required | boolean | ||
ext_application_display_name | string | ||
token_type_extension | string | ||
ext_application_owner | string | ||
ext_application_token_lifetime | integer (int64) | ||
ext_user_token_lifetime | integer (int64) | ||
ext_refresh_token_lifetime | integer (int64) | ||
ext_id_token_lifetime | integer (int64) | ||
ext_pkce_mandatory | boolean | ||
ext_pkce_support_plain | boolean | ||
ext_public_client | boolean | ||
token_endpoint_auth_method | string | ||
token_endpoint_auth_signing_alg | string | ||
sector_identifier_uri | string | ||
id_token_signed_response_alg | string | ||
id_token_encrypted_response_alg | string | ||
id_token_encrypted_response_enc | string | ||
software_statement | string | ||
request_object_signing_alg | string | ||
tls_client_auth_subject_dn | string | ||
require_signed_request_object | boolean | ||
require_pushed_authorization_requests | boolean | ||
tls_client_certificate_bound_access_tokens | boolean | ||
subject_type | string | ||
request_object_encryption_alg | string | ||
request_object_encryption_enc | string | ||
ext_allowed_audience | string |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
client_id | path | string | Yes | Unique identifier of the OAuth2 client application. |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Successfully deleted | |
401 | Unauthorized | error |
500 | Server Error | error |
Schemas
registrationRequest
Type: object
41 properties
| Name | Type | Required | Description |
|---|---|---|---|
redirect_uris | array of string | Yes | |
client_name | string | Yes | |
client_id | string | ||
client_secret | string | ||
grant_types | array of string | ||
jwks_uri | string | ||
url | string | ||
ext_param_client_id | string | ||
ext_param_client_secret | string | ||
contacts | array of string | ||
post_logout_redirect_uris | array of string | ||
request_uris | array of string | ||
ext_param_sp_template | string | ||
backchannel_logout_uri | string | ||
backchannel_logout_session_required | boolean | ||
ext_application_display_name | string | ||
token_type_extension | string | ||
ext_application_owner | string | ||
ext_application_token_lifetime | integer (int64) | ||
ext_user_token_lifetime | integer (int64) | ||
ext_refresh_token_lifetime | integer (int64) | ||
ext_id_token_lifetime | integer (int64) | ||
ext_pkce_mandatory | boolean | ||
ext_pkce_support_plain | boolean | ||
ext_public_client | boolean | ||
token_endpoint_auth_method | string | ||
token_endpoint_auth_signing_alg | string | ||
sector_identifier_uri | string | ||
id_token_signed_response_alg | string | ||
id_token_encrypted_response_alg | string | ||
id_token_encrypted_response_enc | string | ||
software_statement | string | ||
request_object_signing_alg | string | ||
tls_client_auth_subject_dn | string | ||
require_signed_request_object | boolean | ||
require_pushed_authorization_requests | boolean | ||
tls_client_certificate_bound_access_tokens | boolean | ||
subject_type | string | ||
request_object_encryption_alg | string | ||
request_object_encryption_enc | string | ||
ext_allowed_audience | string |
updateRequest
Type: object
33 properties
| Name | Type | Required | Description |
|---|---|---|---|
redirect_uris | array of string | ||
client_name | string | ||
client_id | string | ||
client_secret | string | ||
grant_types | array of string | ||
backchannel_logout_uri | string | ||
backchannel_logout_session_required | boolean | ||
ext_application_display_name | string | ||
token_type_extension | string | ||
ext_application_owner | string | ||
ext_application_token_lifetime | integer (int64) | ||
ext_user_token_lifetime | integer (int64) | ||
ext_refresh_token_lifetime | integer (int64) | ||
ext_id_token_lifetime | integer (int64) | ||
ext_pkce_mandatory | boolean | ||
ext_pkce_support_plain | boolean | ||
ext_public_client | boolean | ||
token_endpoint_auth_method | string | ||
token_endpoint_auth_signing_alg | string | ||
sector_identifier_uri | string | ||
id_token_signed_response_alg | string | ||
id_token_encrypted_response_alg | string | ||
id_token_encrypted_response_enc | string | ||
software_statement | string | ||
request_object_signing_alg | string | ||
tls_client_auth_subject_dn | string | ||
require_signed_request_object | boolean | ||
require_pushed_authorization_requests | boolean | ||
tls_client_certificate_bound_access_tokens | boolean | ||
subject_type | string | ||
request_object_encryption_alg | string | ||
request_object_encryption_enc | string | ||
ext_allowed_audience | string |
application
Type: object
15 properties
| Name | Type | Required | Description |
|---|---|---|---|
client_id | string | ||
client_secret | string | ||
client_secret_expires_at | integer (int64) | ||
redirect_uris | array of string | ||
grant_types | array of string | ||
client_name | string | ||
ext_application_owner | string | ||
ext_application_token_lifetime | integer (int64) | ||
ext_user_token_lifetime | integer (int64) | ||
ext_refresh_token_lifetime | integer (int64) | ||
ext_id_token_lifetime | integer (int64) | ||
ext_pkce_mandatory | boolean | ||
ext_pkce_support_plain | boolean | ||
ext_public_client | boolean | ||
ext_allowed_audience | string |
error
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
error | string | ||
error_description | string | ||
traceId | string |
Was this page helpful?