Buun Group Developers
Pages

Scopes and claims

What a client may ask for, and what each token says about the person.

Markdown

Scopes

ScopeGives
openidWho signed in: sub. Always needed
profilename
emailemail and email_verified
orgsThe organisations the person is in, and their role in each
offline_accessA refresh token, so the client stays signed in

Access token claims

ClaimValue
issThe issuer
subThe person's Buun account id, usr_...
audOne audience: the resource asked for, or the client itself
iat, expSeconds since the epoch. 15 minutes apart at most
jtiA random id
client_idThe client the token was issued to
scopeThe granted scopes, space separated
actOnly on a traded token: { "sub": "<the gateway's exchange client>" }

ID token claims

ClaimValue
iss, sub, aud, iat, expAs above; aud is the client, and it lasts 5 minutes
auth_timeWhen the person signed in
amrHow they signed in
nonceThe nonce the client sent, when it sent one
sidThe session
email, email_verified, nameAs the scopes allow

Ids

PrefixWhat
usr_A person
cli_A client
buun_ac_An authorization code
buun_rt_A refresh token

Products

IdNameHome
plotworkPlotworkhttps://plotwork.dev
flungFlunghttps://flung.dev
gunspecGunSpechttps://gunspec.io
destroyDestroy Networkhttps://destroy.network
cryptflareCryptFlarehttps://cryptflare.com

The list lives in PRODUCTS of @buun-group/core. A new product is added there first.