Next.js Discord

Discord Forum

Auth Refresh Token Cookies

Unanswered
Green-breasted Mango posted this in #help-forum
Open in Discord
Green-breasted MangoOP
I'm having a problem with flow:

When logging in, I can set the cookies via Server Actions (which reflects on the Developer Tools - good)

But when I call an Route Handler, receives a 403, refresh the token, and set a new one. It doesn't show in there.

What is the best way to save the new token?

2 Replies

Green-breasted MangoOP
@B33fb0n3 I saw you from another question thread and just wondering if you have any ideas in here too?
Mini Satin
@Green-breasted Mango did you find the solution?