Documentation
UserInfo
Return OpenID Connect claims for the authenticated subject.
GETPOST/api/auth/oauth2/userinfo
Purpose
Returns claims about the end user associated with the access token. The token must include the openid scope.
Request
- Header:
Authorization: Bearer <access_token> - Methods:
GETorPOST
Response
JSON object including at least sub. With scopes, may include name, picture, email, email_verified, and custom discord_user_id when Discord is linked.
Example
userinfo.sh
curl "https://auth.rdnt.live/api/auth/oauth2/userinfo" \
-H "Authorization: Bearer ACCESS_TOKEN"