[Bug]: Login using OpenID not working for some scenarios in v0.7.3 #3087
-
What happened?I'm currently running v0.7.0, and I am trying to upgrade to v0.7.3. I have configured authentication as follows:
The various I have configured it like this so users are only able to login via my OpenID provider. This works fine in v0.7.0, but after I upgraded to v0.7.3 I get a server error when I try to log in. Do I need to change some configuration for this to work on v0.7.3? Thanks for your hard work maintaining this project! Steps to Reproduce
Add OpenID configuration What browsers are you seeing the problem on?Firefox Relevant log output[openidStrategy] verify login openidId: <REDACTED>
[openidStrategy] user not found with openidId: <REDACTED>
[openidStrategy] user not found with email: <REDACTED> for openidId: <REDACTED>
[openidStrategy] login failed User validation failed: email: can't be blank
ValidationError: User validation failed: email: can't be blank
at Document.invalidate (/app/node_modules/mongoose/lib/document.js:3200:32)
at /app/node_modules/mongoose/lib/document.js:2993:17
at /app/node_modules/mongoose/lib/schematype.js:1368:9
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 20 replies
-
Can you check the Users collection in the database? The emails can't be blank as the errors suggest, it's curious that it was allowed before, unless the emails are there? |
Beta Was this translation helpful? Give feedback.
-
I ran into this same thing. It appears to impact new users for us. I did not have allowedDomains set, but setting it did not appear to change the behavior. |
Beta Was this translation helpful? Give feedback.
-
Resolved now, thanks! Sorry for the inconvenience, I pushed a new release candidate but the docker images may still be building |
Beta Was this translation helpful? Give feedback.
-
Is this problem fixed? ALLOW_EMAIL_LOGIN: "false" I also exposed the app via ingress. The logs are looking similar:
Also need to mention that using localhost instead of exposing the app thru ingress gives the same result. I belive that I am missing something im my kubernetes configuration. I configured all the ENV VARS via a Kubernetes Secret. Any help will be apreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Resolved now, thanks! Sorry for the inconvenience, I pushed a new release candidate but the docker images may still be building