fix(next-auth): redirecting to /undefined
when signIn method throws an error
#2178
Loading
/undefined
when signIn method throws an error
#2178