We recommend replacing @auth0/cordova
with the Auth0 SPA SDK or any of its framework-specific wrappers: auth0-react, auth0-angular, or auth0-vue.
If your app is using Ionic, you can remove @auth0/cordova
and use one of the following framework-specific Ionic quickstarts and sample apps to integrate Auth0 into your app:
You can still integrate the Auth0 SPA SDK into a non-Ionic Cordova app. Use the migration of our Cordova sample app as an example.
Note that you will need to update the configuration of your Auth0 application. Go to the Settings page of your Auth0 application and add https://localhost
to the Allowed Origins (CORS) field, leaving the old value in place. Once the migration is complete, you can safely remove the old value.