/api/oidc/userinfoPublicUserinfo endpoint
The OpenID Connect userinfo endpoint (OIDC Core §5.3). Presents the access token issued by the token endpoint as Authorization: Bearer <access_token>; the server decrypts and verifies it (only tokens minted for the reserved oidc-userinfo audience are accepted) and returns the claims permitted by the token's granted scope: sub always, email / email_verified with the email scope, and the profile name claims (read fresh from the user's profile) with the profile scope. Tokens from a plain OAuth 2.1 grant (no openid scope) are refused with 403 insufficient_scope. Served with Access-Control-Allow-Origin: * and Cache-Control: no-store. OIDC Core §5.3.1 allows POST as well as GET; form-body token delivery is not supported (the token must be in the Authorization header).
get_api_oidc_userinfoOpenID Connect / OAuth 2.0Authentication & permissionsPublic
Anyone — no credentials required
- Accepted credentials
- None required
- Notes
- Bearer access token minted by
POST /api/oidc/tokenfor the reservedoidc-userinfoaudience (RFC 6750 §2.1). The handler verifies it itself; the platform's session cookies are not accepted here.
Responses
| Header | Type | Description |
|---|---|---|
| Cache-Control | string |
| Property | Type | Description |
|---|---|---|
| sub* | string | Subject identifier in the |
| string | With the | |
| email_verified | boolean | With the |
| name | string | With the |
| given_name | string | |
| middle_name | string | |
| family_name | string | |
| preferred_username | string |
Example request
curl -X GET 'https://auth.schemavaults.com/api/oidc/userinfo'