Hi, I have integrated auth0 for basic login using social media connections in my localhost React.js SPA, but every time I log in after pressing refresh I get logged out. I have the cookies holding the jwt every time I refresh. So now I have 10+ cookies for some reason (I thought they would clear when I log out. Is this not the case?) but when debugging:
const isAuthenticated = await auth0FromHook.isAuthenticated();
isAuthenticated is always false. I have all the correct application settings on my profile filled out, including “Allowed Web Origins” which is set to http://localhost:3000 (I read that missing this step out would cause this problem).
I also downloaded the test/sample application and the same problem occurs (using the react-01-login download).
I have also read: https://auth0.com/docs/connections/social/devkeys#limitations-of-developer-keys
to see if the keys were the problem but nowhere does it say that refreshing would not work. I’m not 100% sure how to create non-test IDs + secrets but I have enabled a few social connections (facebook, twitter, github, microsoft and google).
Does anyone know why this might be? I’m running low on ideas. Thanks!