Hi, I'm having an issue - sign in and up doesn't w...
# support-questions-legacy
i
Hi, I'm having an issue - sign in and up doesn't work in browser Incognito mode
i'm getting 401. it works fine in the regular browser mode
r
whats the sameSite setting of the access token cookie?
i
it's None
r
right. Thats the issuse
you sohuld consider switching to header based auth
or then changing the api domain to be a sub domain of the website domain so that supertokens can set sameSite to lax, and then it should work
i
if i change the api to be a sub domain will it work automatically? or do I need to change something with Supertokens?
r
You will have to change the apiDomain config on the frontend and backend. Also, existing users that have logged in will be logged out
i
cool
thanks!
14 Views