e-Próspera
Reference

Get OpenID Connect user claims

View as Markdown
GET
/api/oauth/userinfo

Authorization

oauth2 openid
AuthorizationBearer <token>

In: header

Scope: openid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/oauth/userinfo"
{  "sub": "string",  "name": "string",  "given_name": "string",  "family_name": "string",  "picture": "http://example.com",  "email": "user@example.com",  "email_verified": true,  "property1": null,  "property2": null}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}