oidc
OpenID Connect Userinfo
Changed onThis endpoint returns the payload of the ID Token, including session.id_token values, of the provided OAuth 2.0 Access Token's consent request.
In the case of authentication error, a WWW-Authenticate header might be set in the response with more information about the error. See the spec for more details about header format.
get/userinfo
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/userinfo
- AuthOAuth 2Authorization code: https://hydra.demo.ory.sh/oauth2/authToken URL: https://hydra.demo.ory.sh/oauth2/token
Response
oidcUserInfo
Example response
{
"sub": "sub",
"website": "website",
"zoneinfo": "zoneinfo",
"birthdate": "birthdate",
"email_verified": true,
"gender": "gender",
"profile": "profile",
"phone_number_verified": true,
"preferred_username": "preferred_username",
"given_name": "given_name",
"locale": "locale",
"middle_name": "middle_name",
"picture": "picture",
"updated_at": 0,
"name": "name",
"nickname": "nickname",
"phone_number": "phone_number",
"family_name": "family_name",
"email": "email"
}Changes
- info
api operation id
userinforemoved and replaced withgetOidcUserInfo - info
api tag
oidcadded - info
api tag
publicremoved - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
- info
api operation id
getOidcUserInforemoved and replaced withuserinfo - info
api tag
publicadded - info
api tag
oidcremoved - info
added the non-success response with the status
- info
added the non-success response with the status
- info