Get the user's claims
GET
The OpenID Connect UserInfo endpoint (OpenID Connect Core §5.3). Send an access token that was issued with the openid scope in the Authorization header (RFC 6750 §2.1). The response always has sub and org_id. The profile scope adds the name and picture claims. The email scope adds email and email_verified (OpenID Connect Core §5.4).
bearerAuthheader
AuthorizationBearer <token>The claims about the user.
application/json- response
Claims about the user (OpenID Connect Core §5.1).
sub*stringThe user ID.
org_id*stringThe Organization of the token.
email?stringWith the email scope.
email_verified?booleanWith the email scope.
name?stringWith the profile scope, when known.
given_name?stringWith the profile scope, when known.
family_name?stringWith the profile scope, when known.
picture?stringWith the profile scope, when known.
Format
urilocale?stringWith the profile scope, when known.
curl -X GET 'https://auth.spiraldb.com/userinfo'{ "sub": "string", "org_id": "string", "email": "string", "email_verified": true, "name": "string", "given_name": "string", "family_name": "string", "picture": "http://example.com", "locale": "string"}