How to avoid redirects on failed sign in? #878
Unanswered
peculiarity
asked this question in
Help
Replies: 1 comment
-
I assume you are using |
Beta Was this translation helpful? Give feedback.
0 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.
-
Your question
How to avoid redirects on failed sign in?
What are you trying to do
I have custom sign in page. I would like to display an error message below the sign in form if the user provided wrong username and password. I create a
fetch
requestonSubmit
but the response is a redirect to/?
which is weird. I have no idea why it redirects to/?
and how to get the error.Feedback
Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
Beta Was this translation helpful? Give feedback.
All reactions