Read the current registration of an OAuth2 client (RFC 7592 Section 2.1). Authenticate with the registration_access_token returned at registration, as a Bearer token in the Authorization header. An invalid or missing token returns 401 without revealing whether the client exists.
- Mock serverhttps://cafe.redocly.com/_mock/openapi/cafe/oauth2/register/{clientId}
- Live server.https://api.cafe.redocly.com/oauth2/register/{clientId}
curl -i -X GET \
https://cafe.redocly.com/_mock/openapi/cafe/oauth2/register/client_1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Current client registration.
Time when the client_id is issued, represented as seconds since epoch (RFC 7591).
Time at which the client_secret expires, represented as seconds since epoch. 0 indicates the secret does not expire (RFC 7591).
URL of the client configuration endpoint for managing this client registration (RFC 7592).
Bearer token for the client configuration endpoint (RFC 7592). Store it securely.
Registered grant types.
Registered token endpoint authentication method. Defaults to client_secret_basic when not requested at registration (RFC 7591 Section 2). The token and revocation endpoints accept both methods for every client regardless.
{ "client_id": "string", "client_secret": "string", "client_id_issued_at": 0, "client_secret_expires_at": 0, "registration_client_uri": "http://example.com", "registration_access_token": "string", "client_name": "string", "redirect_uris": [ "http://example.com" ], "grant_types": [ "authorization_code" ], "scope": "string", "token_endpoint_auth_method": "client_secret_basic" }