Authorized Requests

With the access token, you can make authorized requests for user information according to the scope(s) of the grant.

Retrieve User Information

POST https://www.talque.com/oauth2/info

This endpoint returns the user information according to the scope(s) of the grant

Headers

Name
Type
Description

Authorization

string

Must be "Bearer " + the access token

{
    "firstName": "Werner"
    "lastName": "Heisenberg",
    "email": "wh@example.com",
    "companyName": "Max Planck Institute for Physics",
    "jobTitle": "Professor",
    "photo": "https://example.com/path/to/photo.jpg",
    "ctime": -2148253200000,
}

The response json fields depend on the scope of the grant. Currently. these are

Key

Value

Note

Scope

email

string

The validated email address

EMAIL

firstName

string

User fist (given) name

PROFILE

lastName

string

User last (family) name

PROFILE

companyName

string

Employment details

PROFILE

jobTitle

string

Employment details

PROFILE

photo

string

Serving url of profile photo

PROFILE

ctime

number

Account creation time as javascript timestamp

PROFILE

Last updated