Skip to main content

User Info

Jadu Connect provides a userinfo endpoint in line with the OIDC specification. With a valid access token, you can use this endpoint to retrieve details of the user authenticated by that token.

Example request:

$ curl -X GET https://cxm.example.com/q/oauth/v2/user-info \
-H "Authorization: Bearer <TOKEN>"

Example response:

{
"address": [],
"email": "anne@example.com",
"email_verified": true,
"family_name": "Smith",
"given_name": "Anne",
"iss": "https:\/\/cxm.example.com",
"name": "Anne Smith",
"picture": null
}

Example response with an address:

{
"address": {
"formatted": "<full address>",
"street_address": "<street address>",
"region": "<region>",
"postal_code": "<postal code>",
"locality": "<locality>"
},
"email": "anne@example.com",
"email_verified": true,
"family_name": "Smith",
"given_name": "Anne",
"iss": "https:\/\/cxm.example.com",
"name": "Anne Smith",
"picture": null
}