oAuth2
Set OAuth 2.0 Client
Replaces an existing OAuth 2.0 Client with the payload you send. If you pass client_secret the secret is used, otherwise the existing secret is used.
If set, the secret is echoed in the response. It is not possible to retrieve it later on.
OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
put/admin/clients/{id}
Path parameters
idstring required
OAuth 2.0 Client ID
Request body
Example request
{
"metadata": "",
"token_endpoint_auth_signing_alg": "token_endpoint_auth_signing_alg",
"client_uri": "client_uri",
"jwt_bearer_grant_access_token_lifespan": "jwt_bearer_grant_access_token_lifespan",
"jwks": "",
"logo_uri": "logo_uri",
"created_at": "2000-01-23T04:56:07.000+00:00",
"registration_client_uri": "registration_client_uri",
"allowed_cors_origins": [
"allowed_cors_origins",
"allowed_cors_origins"
],
"refresh_token_grant_access_token_lifespan": "refresh_token_grant_access_token_lifespan",
"registration_access_token": "registration_access_token",
"client_id": "client_id",
"token_endpoint_auth_method": "token_endpoint_auth_method",
"userinfo_signed_response_alg": "userinfo_signed_response_alg",
"authorization_code_grant_id_token_lifespan": "authorization_code_grant_id_token_lifespan",
"authorization_code_grant_refresh_token_lifespan": "authorization_code_grant_refresh_token_lifespan",
"client_credentials_grant_access_token_lifespan": "client_credentials_grant_access_token_lifespan",
"updated_at": "2000-01-23T04:56:07.000+00:00",
"scope": "scope1 scope-2 scope.3 scope:4",
"request_uris": [
"request_uris",
"request_uris"
],
"client_secret": "client_secret",
"backchannel_logout_session_required": true,
"backchannel_logout_uri": "backchannel_logout_uri",
"client_name": "client_name",
"policy_uri": "policy_uri",
"owner": "owner",
"audience": [
"audience",
"audience"
],
"authorization_code_grant_access_token_lifespan": "authorization_code_grant_access_token_lifespan",
"post_logout_redirect_uris": [
"post_logout_redirect_uris",
"post_logout_redirect_uris"
],
"grant_types": [
"grant_types",
"grant_types"
],
"subject_type": "subject_type",
"refresh_token_grant_refresh_token_lifespan": "refresh_token_grant_refresh_token_lifespan",
"redirect_uris": [
"redirect_uris",
"redirect_uris"
],
"sector_identifier_uri": "sector_identifier_uri",
"frontchannel_logout_session_required": true,
"frontchannel_logout_uri": "frontchannel_logout_uri",
"refresh_token_grant_id_token_lifespan": "refresh_token_grant_id_token_lifespan",
"implicit_grant_id_token_lifespan": "implicit_grant_id_token_lifespan",
"client_secret_expires_at": 0,
"implicit_grant_access_token_lifespan": "implicit_grant_access_token_lifespan",
"jwks_uri": "jwks_uri",
"request_object_signing_alg": "request_object_signing_alg",
"tos_uri": "tos_uri",
"contacts": [
"contacts",
"contacts"
],
"response_types": [
"response_types",
"response_types"
]
}Response
oAuth2Client
Example response
{
"metadata": "",
"token_endpoint_auth_signing_alg": "token_endpoint_auth_signing_alg",
"client_uri": "client_uri",
"jwt_bearer_grant_access_token_lifespan": "jwt_bearer_grant_access_token_lifespan",
"jwks": "",
"logo_uri": "logo_uri",
"created_at": "2000-01-23T04:56:07.000+00:00",
"registration_client_uri": "registration_client_uri",
"allowed_cors_origins": [
"allowed_cors_origins",
"allowed_cors_origins"
],
"refresh_token_grant_access_token_lifespan": "refresh_token_grant_access_token_lifespan",
"registration_access_token": "registration_access_token",
"client_id": "client_id",
"token_endpoint_auth_method": "token_endpoint_auth_method",
"userinfo_signed_response_alg": "userinfo_signed_response_alg",
"authorization_code_grant_id_token_lifespan": "authorization_code_grant_id_token_lifespan",
"authorization_code_grant_refresh_token_lifespan": "authorization_code_grant_refresh_token_lifespan",
"client_credentials_grant_access_token_lifespan": "client_credentials_grant_access_token_lifespan",
"updated_at": "2000-01-23T04:56:07.000+00:00",
"scope": "scope1 scope-2 scope.3 scope:4",
"request_uris": [
"request_uris",
"request_uris"
],
"client_secret": "client_secret",
"backchannel_logout_session_required": true,
"backchannel_logout_uri": "backchannel_logout_uri",
"client_name": "client_name",
"policy_uri": "policy_uri",
"owner": "owner",
"audience": [
"audience",
"audience"
],
"authorization_code_grant_access_token_lifespan": "authorization_code_grant_access_token_lifespan",
"post_logout_redirect_uris": [
"post_logout_redirect_uris",
"post_logout_redirect_uris"
],
"grant_types": [
"grant_types",
"grant_types"
],
"subject_type": "subject_type",
"refresh_token_grant_refresh_token_lifespan": "refresh_token_grant_refresh_token_lifespan",
"redirect_uris": [
"redirect_uris",
"redirect_uris"
],
"sector_identifier_uri": "sector_identifier_uri",
"frontchannel_logout_session_required": true,
"frontchannel_logout_uri": "frontchannel_logout_uri",
"refresh_token_grant_id_token_lifespan": "refresh_token_grant_id_token_lifespan",
"implicit_grant_id_token_lifespan": "implicit_grant_id_token_lifespan",
"client_secret_expires_at": 0,
"implicit_grant_access_token_lifespan": "implicit_grant_access_token_lifespan",
"jwks_uri": "jwks_uri",
"request_object_signing_alg": "request_object_signing_alg",
"tos_uri": "tos_uri",
"contacts": [
"contacts",
"contacts"
],
"response_types": [
"response_types",
"response_types"
]
}