Storyden
Auth

O Auth User Info

Return OpenID Connect UserInfo claims for the account represented by a valid bearer access token. Claims are scope-gated: - `openid` identifies the subject. - `profile` enables profile claims such as display name. - `email` enables email claims when the account has an email address. Storyden accounts do not always have email addresses, so email claims may be absent even when the `email` scope is present.

Return OpenID Connect UserInfo claims for the account represented by a valid bearer access token.

Claims are scope-gated:

  • openid identifies the subject.
  • profile enables profile claims such as display name.
  • email enables email claims when the account has an email address.

Storyden accounts do not always have email addresses, so email claims may be absent even when the email scope is present.

GET/oauth/userinfo

Authorization

oauth_token
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://loading/api/oauth/userinfo"
{
  "sub": "string",
  "email": "string",
  "email_verified": true,
  "name": "string",
  "preferred_username": "string",
  "error": "string"
}
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}