Multiple set-cookie headers merged into one

I am using Cloudflare Pages with Next.js + Auth.js for OAuth. Every time I try to log in with (let's say) Google, it's not possible, because the callback response has the session-token cookie merged into the same Set-Cookie directive as pkce.code_verifier. On development I get two Set-cookie headers instead of only one and it works as expected. How can I make sure those headers don't get merged?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server