We are using auth0.js in a static web page. Login/signup buttons are rendered dynamically depending on the login state. We are using auth0.checkSession with a callback. It takes anywhere from 500ms to 2 seconds depending on the connection for the callback to respond, even if there is no user logged in.
My understanding was that auth0.js would use local storage to determine if the user is signed in or not, but we see it making a request to:
We are not making any call except for checkSession. Using: https://cdn.auth0.com/js/auth0/9.11/auth0.min.js
This not only causes slowness in the UI to render, but also seems completely unnecessary.