auth0-samples / auth0-javascript-samples

Auth0 Integration Samples for Vanilla JavaScript Applications

Home Page:https://auth0.com/docs/quickstart/spa/vanillajs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Safari 13.0.2 after page refresh isAuthenticated() always appears to return false

douglashetherington opened this issue · comments

commented

Using 01_Login and running as the instructions say I successfully login and I can view profile etc.

On Safari 13.0.2:
Refreshing the page causes me to be logged out.
On Chrome:
I remain logged in.

It appears

const isAuthenticated = await auth0.isAuthenticated();

Is always returning false after refresh on Safari.

Tapping login - logs me in again without prompting.

What am I doing wrong? :)

commented

It seems to have sprung back into life. I adjusted the connections I had set in the auth0 control panel and it just started working again.