Skip to content
Discussion options

You must be logged in to vote

Finally I found the problem.

It was in the middleware.ts, and it was caused because Supabase auth overwrote the headers from next-intl, exactly what’s explained here: #70582 (comment)

In my case, I decided to simply not recreate a new response after Supabase sets the cookies. That solved the issue immediately 👇

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@asilvafx
Comment options

@llorenspujol
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by llorenspujol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants