gentle-bird-90474
02/27/2023, 1:54 PMopenid, profile, email
and our identity schema (and data) contains a name
field. However, neither token nor userinfo contain the name field. Reading the documentation it sounds like this could be intended behavior by Ory, but there is no description on how to change it. Can you help?gentle-bird-90474
02/27/2023, 1:55 PMprofile
scope should result in name
(and other) fields being added to the userinfo response / ID token, but it seems not to be the case with Ory.gentle-bird-90474
02/27/2023, 2:12 PMfoo
to be included by adding the to the consent acceptance post. But I would still expect that we don’t have to do the effort of implementing the for the OIDC standard of profile
. Or am I misunderstanding something here?gentle-bird-90474
02/27/2023, 2:30 PM.well-known/openid-configuration
shows:
"scopes_supported": [
"offline_access",
"offline",
"openid"
],
So there’s no profile
scope in there. Could this be related? Now trying to figure out how to get it in there…gentle-bird-90474
02/27/2023, 9:29 PM/userinfo
response. From what I understand from getOidcUserInfo
in oauth2/handler.go:546
I can not see where the fields are added that should be within the response (oidcUserInfo
struct, containing fields like name
as described in https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims).
Is this a bug or is my Golang’ish too bad and I just can’t find it? @high-optician-2097 Your name is all over the commit log in this area, you probably know best.gentle-bird-90474
02/27/2023, 9:31 PMName
, GivenName
, FamilyName
, etc. are within the auto-generated client, I can’t seem to find them on the server side.flat-flower-81031
02/27/2023, 9:37 PMid_token
when you accept the consent flow: https://www.ory.sh/docs/hydra/concepts/consent#accepting-the-consent-flow
See also https://ory-community.slack.com/archives/C02MR4DEEGH/p1677093332549029gentle-bird-90474
02/27/2023, 9:38 PMgentle-bird-90474
02/27/2023, 9:40 PMprofile
scope will lead to either the ID token containing the scopes claims, nor the userinfo response retrieved with the access token.
All in all, to me this looks like Hydra is misbehaving wrt. https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaimsflat-flower-81031
02/27/2023, 9:41 PMgentle-bird-90474
02/27/2023, 9:52 PMname
in Identity Schema corresponds to name
claim in profile
scope) or by configuration (at the identity schema field).
Is Hydra generic flexibility here in conflict with the OIDC standard?gentle-bird-90474
02/28/2023, 12:13 PMhigh-optician-2097