Hi, i am getting `Session does not exist` then rel...
# support-questions-legacy
l
Hi, i am getting
Session does not exist
then reloading frontend A after i logged in with the same account in frontend B. Is there a way how i can fix this? I am using the python sdk (fastapi) and for my frontent A the react sdk and for frontend B the web sdk.
r
Hey @Luca
What the the domains of the 2 frontends?
l
Random subdomains of ngrok.dev
r
Right. So ngrok is a special domain and cookies can’t be shared across sub domains of ngrok
So therefore, you can’t really share the same session across ngrok domains
l
Cam I habe multiple Session for one User?
Have
r
Yes.
l
So, why cam I Not be logged in in both frontend?
r
You can. You would need to have the login page on each of the frontends
Oh. Do they share the same api domain?
l
Yes
r
Ah right. So switch to using header based auth and it should work
Change the token transfer method on the frontend for both apps to use headers
8 Views