Replies: 1 comment 4 replies
-
Here are the possible error types: https://next-auth.js.org/configuration/pages#sign-in-page Which one of these do you feel is a security risk? We provide that information, so you can give the user a meaningful (but minimal) feedback on what action they should do, like checking their credentials. Here is a snippet from the above link:
So I agree on you partially, but I think with the above error types, we don't expose anything sensitive. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I get an login error, I redirect the user back to the login page. But then next-auth adds the error as query string to the URL.
In my opinion this is not good for security reasons. For debugging it would be ok, but not in production environment.
My question, is it possible to deactivate that? Or to modify the message to something like "login not allowed".
thanks in advance
Frank
Beta Was this translation helpful? Give feedback.
All reactions