-
-
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
Cannot Sign in with Auth0 'issuer not set in claims.' #3182
Comments
Hm the configuration looks fine. |
Yup the domains and redirect are correct. To reproduce, just setup auth0 as an oidc login method then login via auth0. After logging in with auth0, Kratos will not be able to create an identity and will instead redirect to the error hook with an 'issuer not set in claims' error. I forgot to mention this: we're upgrading from kratos v0.10.1 to v0.11.1 and I can't seem to find any relevant updates to the config that would cause this |
I think this is a regression of the recent security improvements we have made to the social sign in providers. It's probably similar to #3040 |
Ah - looks like it's the same issue. We can mark this one as a duplicate then. Thank you! |
Preflight checklist
Describe the bug
When trying to login via oidc - Auth0, I'm getting an error 'issuer not set in claims.'. No identity has been created yet since /whoami is still empty. Upon checking the code, it looks like it is expecting an 'iss' field to be returned from auth0's /userinfo endpoint:
kratos/selfservice/strategy/oidc/provider.go
Lines 59 to 67 in f905408
Correct me if I'm wrong, but this doesn't seem to align with oidc's standards for the /userinfo endpoint: https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims.
Reproducing the bug
Steps to reproduce the behavior:
Relevant log output
Relevant configuration
Version
v0.11.1
On which operating system are you observing this issue?
Windows
In which environment are you deploying?
Kubernetes
Additional Context
No response
The text was updated successfully, but these errors were encountered: