info@10duke.com

Request user information

After end user authentication and API authorization by OIDC/OAuth 2.0, your client application can request for more information about the end user from 10Duke Enterprise, if needed.

Use the 10Duke Authentication API endpoint /user/info.

An example request (line breaks added for display purposes):

GET /user/info HTTP/1.1
   Host: {BASE_URL}
   Authorization: Bearer OeRIO5cbQkvTFRCgostl8V7xZGU

The request must include the access token in the Bearer token authorization header, as in the example above.

The endpoint returns user information according to the scope names that your client application sent to 10Duke Enterprise when starting the OIDC/OAuth 2.0 flow. See more information on supported scopes.