Capacitor Auth0 integration

Currently we have a web project using google and password for logging in.
Then we use Capacitor to build a hybrid app for both iOS and Android phones.

We are stuck at logging in with password and using checkSession method to refresh token.
Here are some information:

  • auth0.js, version 9.15.0
  • auth0 application with Application Type = Single Page Application
  • use webAuth.login method to login with password
  • checkSession to get new Auth0 token

I think the root cause is something related to Custom Domain or Application Type ???
The web app works well now but in mobile apps, we use http://localhost or capacitor://localhost. Don’t know how to configure it properly.