Skip to main content

Module userinfo

Module userinfo 

Source
Expand description

OpenID Connect UserInfo endpoint (OIDC Core Section 5.3).

Returns claims about the authenticated user based on the access token’s scopes: openid → sub, profile → name, email → email.

Authentication is enforced by the require_bearer_token middleware layer applied to the protected route group. By the time this handler runs, the token has already been validated and the caller’s identity is in extensions.

Functions§

userinfo
GET/POST /oauth/userinfo