Get user info (OIDC)
Returns claims about the user who authorized the grant behind the bearer token. Bearer-authenticated by the same verifyMcpAccessToken function POST /mcp uses, so a revoked grant, a deactivated user and an expired token are all refused exactly as they are there. Never cached: this is the one response in this router that can carry a person's address.
sub is always present — the stable usr_… primary key, never reassigned and never pairwise. email and email_verified are returned together, and only when the grant holds the email scope; a client that asked only for openid gets a subject and no contact detail. The two never appear separately, since an email without the flag beside it would invite a relying party to assume verification.
Request
- Base URL: https://api.elaichi.ai
- URL: https://api.elaichi.ai/oauth/userinfo
- Auth: HTTP bearer
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.