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.

GET
/oauth/userinfo

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.

Authorization

oauth_token
headerAuthorizationBearer <token>

Response Body

User info claims.

application/json
  1. response
sub?string
email?string
email_verified?boolean
name?string
preferred_username?string
error?string
Example Request
curl -X GET 'https://example.com/api/oauth/userinfo'
Example Response
{  "sub": "string",  "email": "string",  "email_verified": true,  "name": "string",  "preferred_username": "string",  "error": "string"}