Hi everyone,
I’m currently using the auth0-cordova
library for authentication in my Ionic app, which is built with Cordova (not Capacitor). Since auth0-cordova
has been deprecated, I checked the migration guide and noticed that Auth0 suggests using Capacitor along with Ionic for the new authentication flow.
Is there a recommended approach to implementing Auth0 authentication in a Cordova + Ionic app now that auth0-cordova
is deprecated? Has anyone successfully adapted the new Auth0 approach to work with Cordova instead of Capacitor?
I appreciate any insights or guidance! Thanks in advance.
Hi @apovlad,
Welcome to the Auth0 Community!
Yes, that’s correct. The auth0-cordova
SDK was deprecated in 2023.
Unfortunately, as mentioned in the migration guide, we no longer officially support Cordova + Ionic as an implementation. Currently, we recommend migrating to Capacitor, which works with the Auth0 SPA SDK or any of its framework-specific wrappers: auth0-react, auth0-angular, or auth0-vue.
I have not come across any examples of adapting the new Auth0 approach to work with Cordova instead of Capacitor.
I’d like to open this up for discussion. If anyone in the community has successfully done this, please share your experience.
Kind regards,
Rueben