Skip to main content
GET
/
userinfo
Get UserInfo
curl --request GET \
  --url https://api.bkey.id/userinfo \
  --header 'Authorization: Bearer <token>'
{
  "sub": "<string>",
  "scope": "<string>",
  "client_id": "<string>"
}

Authorizations

Authorization
string
header
required

EdDSA-signed JWT obtained via OAuth 2.1 client_credentials or CIBA

Response

Default Response

sub
string
required

Subject identifier — user DID or client ID

scope
string
required

Space-separated granted scopes

client_id
string

OAuth client ID (for client_credentials tokens)