Scopes & OIDC Claims
Request only the minimum scopes your application needs. Every requested scope is shown cleanly on the user consent screen.
Supported Scopes
| Scope | Purpose | Claims Unlocked |
|---|---|---|
openid |
Enables OpenID Connect sign-in and issues an id_token from /oauth/token. |
sub (stable numeric user ID), iss, aud, iat, exp |
profile |
Accesses basic user profile display fields. | name, preferred_username, picture |
email |
Accesses the account's primary email address and verification flag. | email, email_verified (boolean) |
ID Token Claims (JWT)
When the openid scope is requested, POST /oauth/token returns a signed id_token alongside access_token containing standard OIDC identity fields:
Decoded id_token Payload Example
{
"iss": "https://auth.webburnstech.dev",
"sub": "42",
"aud": "wb_your_client_id",
"iat": 1763100000,
"exp": 1763103600,
"name": "Ada Lovelace",
"preferred_username": "ada",
"email": "ada@example.com",
"email_verified": true
}
Keying Users in Your Database
Always key accounts in your database by the immutable sub claim (or iss + sub pair), not by email, because users can update their email address inside Webburns Account.