ServicesAuthenticationHTTP APIAuthorization server

Get the user's claims

GET
/userinfo

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).

Authorization

bearerAuth
headerAuthorizationBearer <token>

Response Body

The claims about the user.

application/json
  1. response

Claims about the user (OpenID Connect Core §5.1).

sub*string

The user ID.

org_id*string

The Organization of the token.

email?string

With the email scope.

email_verified?boolean

With the email scope.

name?string

With the profile scope, when known.

given_name?string

With the profile scope, when known.

family_name?string

With the profile scope, when known.

picture?string

With the profile scope, when known.

Formaturi
locale?string

With 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"}