GET
/
oauth
/
userinfo
Userinfo Endpoint
curl --request GET \
  --url https://api.digitalseaservice.com/oauth/userinfo \
  --header 'Authorization: Bearer <token>'
{
  "sub": "<string>",
  "name": "<string>",
  "role": "<string>",
  "country": "<string>",
  "picture": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Basic profile for the authenticated user.

OIDC-style basic profile returned by /oauth/userinfo. Profile fields are present only when the token carries the profile:read scope.

sub
string
required

Stable DSS user identifier (subject).

name
string | null
role
string | null
country
string | null
picture
string | null

Profile photo URL.