Open ID Connect enables clients (relying party) to verify the identity and obtain profile information of the end user based on the authentication performed by an authorization server, in an interoperable and REST-like manner. Client applications must be registered before they can login end-users with OpenID Connect or receive OAuth 2.0 access tokens. The following section provides information on how an OpenID Connect Relying party can dynamically register with the end user's OpenID provider.
How it works
To register a new client at the authorization server:
- Client discovers the client registration endpoint. For more information on how to do this, see OpenID Connect Discovery Support. The registration endpoint URL discoverable via WebFinger. For more information on discovering the client registration endpoint, see OpenID Connect Discovery.
- Client sends an HTTP POST message to the client registration endpoint with and client metadata parameters that the client chooses to specify for itself during the registration.
- The authorization server assigns a unique client identifier (client ID) and optionally a client secret.
- The authorization server associates the metadata given in the request with the issued client ID.
To view sample requests and responses, see the REST API swagger docs on OAuth2 Dynamic Client Registration.