User Info

Get claims about the authenticated End-User

get

The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.

Header parameters
AuthorizationstringRequired

To obtain the requested Claims about the End-User, the Client makes a request to the UserInfo Endpoint using an Access Token obtained through OpenID Connect Authentication

Responses
200
Claims about the authenticated End-User
application/json
get
GET /unknown/userinfo HTTP/1.1
Host: auth.authority.io
Authorization: text
Accept: */*
{
  "sub": "text",
  "name": "text",
  "given_name": "text",
  "family_name": "text",
  "middle_name": "text",
  "nickname": "text",
  "preferred_username": "text",
  "profile": "text",
  "picture": "text",
  "website": "text",
  "email": "text",
  "email_verified": true,
  "gender": "text",
  "birthdate": "text",
  "zoneinfo": "text",
  "locale": "text",
  "phone_number": "text",
  "phone_number_verified": true,
  "address": "text",
  "updated_at": 1
}

Get claims about the authenticated End-User

post

The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.

Body
access_tokenstringRequired

To obtain the requested Claims about the End-User, the Client makes a request to the UserInfo Endpoint using an Access Token obtained through OpenID Connect Authentication

Responses
200
Claims about the authenticated End-User
application/json
post
POST /unknown/userinfo HTTP/1.1
Host: auth.authority.io
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 23

"access_token='text'"
{
  "sub": "text",
  "name": "text",
  "given_name": "text",
  "family_name": "text",
  "middle_name": "text",
  "nickname": "text",
  "preferred_username": "text",
  "profile": "text",
  "picture": "text",
  "website": "text",
  "email": "text",
  "email_verified": true,
  "gender": "text",
  "birthdate": "text",
  "zoneinfo": "text",
  "locale": "text",
  "phone_number": "text",
  "phone_number_verified": true,
  "address": "text",
  "updated_at": 1
}

Last updated

Was this helpful?