Next.js Discord

Discord Forum

Set Cookies before redirect

Unanswered
Philippine Crocodile posted this in #help-forum
Open in Discord
Philippine CrocodileOP
I am trying to set up an OAuth2 provider. So like for Google auth before redirecting I want to set some cookies in my browser so that I can access them in my callback handler, but I cannot do that. How to fix this?

0 Replies