I’m trying to deploy a React Application using Auth0 on Heroku.
However, the process of loading the auth0 client is taking more than a minute when I deploy it, while it loads instantaneously while I run on my local machine. Is there anyway to fix this?
Here is some more details`
const { loading, isAuthenticated, loginWithRedirect } = useAuth0();
if (loading) {
return null;
}
It will take more than a minute to load.
1 Like