Function ory_client::apis::oidc_api::create_oidc_dynamic_client
source · pub async fn create_oidc_dynamic_client(
configuration: &Configuration,
o_auth2_client: &OAuth2Client
) -> Result<OAuth2Client, Error<CreateOidcDynamicClientError>>
Expand description
This endpoint behaves like the administrative counterpart (createOAuth2Client
) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. Please note that using this endpoint you are not able to choose the client_secret
nor the client_id
as those values will be server generated when specifying token_endpoint_auth_method
as client_secret_basic
or client_secret_post
. The client_secret
will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somewhere safe.