Method: OryClient::OidcApi#create_oidc_dynamic_client

Defined in:
lib/ory-client/api/oidc_api.rb

#create_oidc_dynamic_client(o_auth2_client, opts = {}) ⇒ OAuth2Client

Register OAuth2 Client using OpenID Dynamic Client Registration 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.

Parameters:

  • o_auth2_client (OAuth2Client)

    Dynamic Client Registration Request Body

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



27
28
29
30
# File 'lib/ory-client/api/oidc_api.rb', line 27

def create_oidc_dynamic_client(o_auth2_client, opts = {})
  data, _status_code, _headers = create_oidc_dynamic_client_with_http_info(o_auth2_client, opts)
  data
end