OIDC UserInfo endpoint
/oauth/userinfoOIDC UserInfo endpoint (GET /oauth/userinfo). Requires a valid identity access token (IdentityJwtGuard) and returns the standard OIDC claims for the authenticated subject: sub, email, email_verified, given_name, family_name, and name. Returns 401 for an invalid token and 403 when the bearer is not an identity principal.
Responses
application/json
sub *stringemail *stringemail_verified *booleangiven_name *stringfamily_name *stringname *string
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/oauth/userinfo"
{ "sub": "string", "email": "string", "email_verified": false, "given_name": "string", "family_name": "string", "name": "string" }
Tell us how we can improve this guide.