oAuth2
Patch OAuth 2.0 Client
Patch an existing OAuth 2.0 Client using JSON Patch. If you pass client_secret the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe.
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.
patch/admin/clients/{id}
Path parameters
idstring required
The id of the OAuth 2.0 Client.
Request body
Example request
[
{
"from": "/name",
"op": "replace",
"path": "/name",
"value": "foobar"
}
]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"
]
}