You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, guys! The thing is that i've been developing a multi-tenant application with Next.js and in production, cookies works great! But when it comes to development I cant make them work properly. The next-auth.session-token is setting up on my main domain (localhost in dev) but not on my subdomain.localhost:3000
I'm unable to access the session on mysubdomain.localhost:3000 on development, meaning I can properly develop features for logged in users on subdomains.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, guys! The thing is that i've been developing a multi-tenant application with Next.js and in production, cookies works great! But when it comes to development I cant make them work properly. The
next-auth.session-token
is setting up on my main domain (localhost in dev) but not on my subdomain.localhost:3000This are my cookies settings:
I'm unable to access the session on
mysubdomain.localhost:3000
on development, meaning I can properly develop features for logged in users on subdomains.This are my nextjs and nextauth versions:
Beta Was this translation helpful? Give feedback.
All reactions