Next Auth Custom Pages flow. #10647
Unanswered
georgecodedit
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using next-auth@beta for a new project and I've created a custom signIn component. I have a condition where I don't want to allow Gmail users to receive magic links, so I've set it up to deny these users. However, when I implement this from a custom page, I encounter a runtime error. If I perform the login from the default NextAuth page, I do not encounter this error and it redirects to the error page as expected. I'm wondering if this issue is due to a limitation that is not yet supported, or if I am implementing it incorrectly. My code is below. Everything works fine unless I have the signing done by the following form.
Beta Was this translation helpful? Give feedback.
All reactions