Authorization Code without openid scope returns ID token #667
Unanswered
isegura-eos-eng
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using version 3.30.0 in my server. Before this update I ran version 3.23.2. If I'm not mistaken, the previous implementation returned an error when requesting the authorization code without the
openid
scope. Now however, it happens two things that I'm not sure why:scope
parameter.openid
scope is not included in the request.The code is clear:
oidc/pkg/op/auth_request.go
Lines 268 to 286 in 3b64e79
I would understand the first point if the server does only implement OIDC, however, as far as I know, this is done by enforcing the
opeind
scope, which it was the case before.The second point is confusing to me. I guess that the server can send the ID token if it so pleases, but it feels wrong. From the spec's Introduction section:
Is this an expected behaviour? If so, can I get some context of why is it implemented like this? I couldn't find any issue regarding this (maybe I didn't use the right keywords).
Beta Was this translation helpful? Give feedback.
All reactions