get https://{applicationQualifiedDomain}.us.wristband.dev/api/v1/oauth2/userinfo
This endpoint can be used to retrieve claims corresponding to the authenticated user. The claims that are returned in the response are dictated in part by the scopes that were requested as part of the call to the /oauth2/authorize
endpoint. Please see the below table to determine which scopes map to which claims.
Scope | Claims |
---|---|
profile | name , given_name , family_name , middle_name , nickname , preferred_username , picture , gender , birthdate , zoneinfo , locale , updated_at |
email , email_verified | |
phone | phone_number , phone_number_verified |
roles | roles |
In addition to the above claims, the following claims all always returned, regardless of the specified scopes: sub
, tnt_id
, app_id
, idp_name
.
Furthermore, if custom claims have been configured for the UserInfo response, they will always be returned regardless of the specified scopes.