Client ID Metadata Document
Demonstrates OAuth clients identified by HTTPS client_id URLs whose metadata documents are fetched by the authorization server.
Sequence Diagram
1
Fetch Authorization Server Metadata
Client fetches OAuth Authorization Server Metadata (RFC 8414) and verifies client_id_metadata_document_supported per the CIMD draft Section 6.
Client App→IdP (Authorization Server)
2
Authorization Request with Client Identifier URL
Client sends the authorization request using an HTTPS Client Identifier URL as client_id. In this demo, the Client Identifier URL is served by a development-purpose CIMD Service pattern so learners can follow the draft without requiring the client to host its own public metadata document.
Client App→IdP (Authorization Server)
3
Authorization Server Retrieves Client ID Metadata Document (Illustrated)
This illustrated step makes the authorization server's internal CIMD retrieval explicit for learners: the AS retrieves the Client ID Metadata Document identified by the Client Identifier URL and validates it for the authorization request.
IdP (Authorization Server)→CIMD Service
4
Authorization Code Token Request
Client redeems the authorization code with the same redirect_uri and PKCE code_verifier using application/x-www-form-urlencoded token request parameters.
Client App→IdP (Authorization Server)