400 - AuthSessionMissingError: Auth session missing

I've set up my app to support 4 oauth providers and a password-less login. I've followed the tutorial for the next js app router, set up the middleware and my private layout, and whenever i login, supabase responds with 302 redirect, a user actually gets created if i log in with a new email, but in my private layout, the .getUser function returns a 400 AuthSessionMIssingError and the user gets redirected back to /auth/signin. I'd be happy to provide some code snippets.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?