Hi there, I'm trying to use SuperTokens with my Re...
# support-questions-legacy
a
Hi there, I'm trying to use SuperTokens with my React frontend / fast API backend. I have two questions: 1) Do I have to manually delete the st cookies when I want to sign out? If I just use the signOut method from /recipe/emailpassword, the signout request is sent to my backend and I get a 200 back - but it seems the user session is still active on the frontend so I remain on the dashboard, in order to actually log out I have to delete the cookies (I have wrapped my dashboard in the component so I assume I should be redirected to the /auth page when I sign out). 2) Even when I am logged in on the frontend, the verify_session() method on the backend immediately returns a 401. Any help would be greatly appreciated, thanks.
r
Hey @AngusParsonson
Can you show the sign in request and response headers along with the url you call to sign in? (A chrome screenshot will do)
a
Hi rp, thanks for the very quick response
sure hang on,

https://cdn.discordapp.com/attachments/1102574565240098836/1102576089374670940/image.png

no payload in the request
r
I mean the sign in API
a
ah
r
What’s the sign in response headers?
a

https://cdn.discordapp.com/attachments/1102574565240098836/1102576414068330526/image.png

r
This is still not the sign in request?
a

https://cdn.discordapp.com/attachments/1102574565240098836/1102576567714070608/image.png

r
The sign in response headers please
Not the response body
But the response headers
a

https://cdn.discordapp.com/attachments/1102574565240098836/1102576962997866516/image.png

sorry forgot to copy to clipboard
r
Switch to using localhost instead of using 127.0.0.1 on your backend
Make sure to change ur apiDomain value to localhost on the backend and frontend as well
a
ah perfect
thank you so much
4 Views