im having an issue with the javascript session rec...
# support-questions-legacy
b
im having an issue with the javascript session recipe for some reason, i can see the fetch from signOut to the supertokens backend with a status of ok but the session still exists I have tried changing to supertokens-auth-react and using the corresponding methods for signout and sessionexists and experienced the same issue
n
Hi @brasidas7917, Can you check the value of the cookies in your browser after calling signOut? Also please enable debug logs on your frontend and post the output here
t
i have the same issue
on postman the cookies get deleted and everything is fine
but in the frontend its not getting removed
n
@thesoggy1 Can I see the response headers from the signout API?
t
gimme a second while i enable logging of the headers
n
In your browsers network tab, you can jsut send a screenshot of the request details
Can you send the screenshot for the cookies including the domain, path etc
t
that were not removed
n
No i meant the screenshot you sent of the cookies in your browser, can you re-send that but with the path and domain
t
n
Right, can I see the config you pass when calling SuperTokens.init on your backend?
t
n
And on your frontend
t
n
And the values for the environment variables?
t
am i supposed to add a '/' at the back
n
No that shouldnt matter
Are there any more response headers for this one?
t
r
Can you send a screenshot of the response headers from the signin API request?
on the backend, can you set cookie same site to none?
t
doing now
so this will cause issues with safari
what you want to do is to to make the api domain either exactly equal to the website domain, or make the api domain a subdomain of the website domain
t
alright
it works now
thanks so much
r
cool!