Is it possible for custom sign in form to be a component instead of a page? #1426
-
When user hover login button, the sign in form appears as a drop down. How can I implement this feature instead of redirecting to sign in page? |
Beta Was this translation helpful? Give feedback.
Answered by
StefanSelfTaught
Mar 3, 2021
Replies: 1 comment 3 replies
-
This will not redirect to signIn page and if you pass signIn('credentials', { username: 'jsmith', password: '1234', redirect: false }) See more here: https://next-auth.js.org/getting-started/client#signin |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
balazsorban44
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will not redirect to signIn page and if you pass
redirect: false
it won't redirect after login.See more here: https://next-auth.js.org/getting-started/client#signin