https://stackoverflow.com/questions/74749898/next-auth-302-redirect-issue
n my onSubmit handler, the resp returned from signIn is: {error: null, status: 302, ok: false, url: 'http://localhost:3000/login'}
if (resp?.ok) fails and so router.push("/"); never gets called so the page doesn't redirect. But it does set the session token.
Where is this response coming from and why is that responder setting this 302 code that can't be handled? And ultimately, how can I correct this issue with the 302 status code that's causing the error?
full code: https://github.com/currenthandle/hackathon