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
Based on the signature of the signIn method it accepts either FormData or the redirect object, but how would I redirect if a user signs in using credentials?
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
-
Based on the signature of the
signIn
method it accepts eitherFormData
or the redirect object, but how would I redirect if a user signs in using credentials?The following doesn't work.
Using
redirect
from'next/navigation'
also doesn't work.Beta Was this translation helpful? Give feedback.
All reactions