Olympus Docs
ReferenceScopes

OAuth2 scopes

Standard OIDC scopes and Olympus-specific conventions

OAuth2 scopes describe what a token can do. Standard OIDC scopes are universal; custom scopes are per-app.

Standard OIDC scopes

ScopeDescription
openidRequired to receive an ID token. Without it, the OAuth2 flow returns only an acc
profileProfile-related claims: name, given_name, family_name, `preferred_username
emailemail and email_verified claims.
offline_accessRequest a refresh token. Required for long-lived sessions.
addressPostal address claims. Olympus doesn't ship this by default; available if you ad
phonephone_number, phone_number_verified. Add to schema if you collect phone.

Olympus conventions

ScopeDescription
groupsCustom claim with array of group memberships. Used by ArgoCD, Grafana, etc. for
roleCustom single-string role claim. admin, user, etc.
api:readExample custom scope, read access to your API.
api:writeExample custom scope, write access.
adminExample custom scope, admin operations.

See Cookbook, Add OAuth2 scope to define your own.

On this page