I am struggling with seeing JWT expired from API r...
# help
t
I am struggling with seeing JWT expired from API routes immediately after user auth workflow. Our setup is pretty basic. NextJS API handlers are wrapped in withAuthRequired helper.
n
Hello @timeforpoptarts! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
t
FWIW We are running on top of Heroku dyno.
n
🆕 NextJS - JWT expired
s
I'm wondering if Heroku is stopping the cookie saving somehow? I found this issue on SO https://stackoverflow.com/questions/35784235/cant-access-cookie-on-http-in-heroku-only-https
n
NextJS - JWT expired
t
Hem.
Hrm - that package may fix?
It seems moving to Vercel worked.