You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem I'm observing that is not aligned with documentation is that after calling the signIn function returned from NextAuth() I'm redirected still to http://localhost:3000/api/auth/signin?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2F address. However my custom login page is correctly rendered there.
But I would like to see it under http://localhost:3000/login address after calling signIn.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey there,
based on this docs: https://authjs.dev/guides/pages/signin I am trying to build a custom login page for Resend provider.
My next-auth config looks like this:
The problem I'm observing that is not aligned with documentation is that after calling the
signIn
function returned fromNextAuth()
I'm redirected still tohttp://localhost:3000/api/auth/signin?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2F
address. However my custom login page is correctly rendered there.But I would like to see it under
http://localhost:3000/login
address after callingsignIn
.Is there something I am missing?
Beta Was this translation helpful? Give feedback.
All reactions