-
-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitlab OIDC registration does not work anymore #3040
Comments
My quick guess is that the merging logic should be fixed?
{
"access_token":"REDACTED",
"token_type":"Bearer",
"expires_in":7200,
"refresh_token":"REDACTED",
"scope":"openid",
"created_at":1674539539,
"id_token":"..."
} where {
"iss": "https://gitlab.com",
"sub": "10861498",
"aud": "my OIDC app/client ID in hex",
"exp": 1674539659,
"iat": 1674539539,
"auth_time": 1674491362,
"sub_legacy": "2ee1005759d96b7b00158b3bcfa74d0197e993e8ece97f97ea84c1e4d0c8c12b",
"email": "nodakai@gmail.com",
"email_verified": true,
"groups_direct": [
"REDACTED"
]
} Note it does contain However {
"sub": "10861498",
"sub_legacy": "2ee1005759d96b7b00158b3bcfa74d0197e993e8ece97f97ea84c1e4d0c8c12b",
"name": "Kai Noda",
"nickname": "nodakai",
"preferred_username": "nodakai",
"email": "nodakai@gmail.com",
"email_verified": true,
"profile": "https://gitlab.com/nodakai",
"picture": "https://gitlab.com/uploads/-/system/user/avatar/10861498/avatar.png",
"groups": [
"REDACTED"
],
"https://gitlab.org/claims/groups/owner": [
"REDACTED"
]
} without |
your proposal sound good to me |
I'm running into the same issue |
This seems like a regression from our fixes to potentially incorrect issuer/subject data coming from upstream providers (happened during the facebook outage). fyi @jonas-jonas @CaptainStandby |
I am still getting this on kratos v0.13.0 and the current version of Ory Network (made a new project from scratch and still get). Is it possible this is still an issue, or is there any other cause?
|
Preflight checklist
Describe the bug
Since the additional claim verification, add OIDC Gitlab provider does not work anymore.
Gitlab does not provide
issuer
into the claimReproducing the bug
Steps to reproduce the behaviour:
Relevant log output
Relevant configuration
No response
Version
0.11.1
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Kubernetes
Additional Context
No response
The text was updated successfully, but these errors were encountered: