Starting Implicit Flow on landing page with the app as redirect uri

What we are trying to do:
build a log-in button on the landing page redirecting to the app after success.
We are using Implicit Flow. After login, the app gets redirected to

How are we supposed to proceed with the data stored in the hash if we are using @auth0/auth0-spa-js library?

auth0.handleRedirectCallback doesn’t work because it expected search, not hash parameters.

auth0.isAuthenticated returns false.

If we are to parse the hash parameters manually, how do we tell the auth0 library that we are logged in already?

Is there a particular reason for you to require the use of the implicit grant flow? The Auth0 SPA SDK ( supports the authorization code grant with PKCE which is also suitable (and technically the current recommendation) for a SPA application.