Requesting User Information

Upon receiving an Access Token, request user info by issuing a GET request from your backend to the userinfo_endpoint discovered earlier.

GET /userinfo HTTP/1.1
Authorization: bearer {ACCESS_TOKEN}

The response contains JSON with the user information requested by your scopes and approved by the user.

{   “sub”:”mccmnc-1234567abcdefghijk”,
    “name”: {
        “value”:”Jane Doe”,
        “given_name”: “Jane”,
        “family_name”: “Doe”},
     “email”: {
        “value": “[email protected]”},
    “postal_code”: {
    “phone”: {

Did this page help you?