Error while integrating Auth0 in existing Ionic Cordova App

I’m trying to integrate Auth0 in my existing Ionic Cordova App. I am facing an issue while adding this statement - Auth0Cordova.onRedirectUri(url);. Please check the PDF below for full details. Please let me know how to resolve this issue. Thanks.

ionic-auth0-issue.pdf (209.6 KB)

Hi @jeswin1,

Welcome to the Auth0 Community!

I understand that you are getting Errors when integrating Auth0 into your existing app.

After taking a closer look at your attached error, it shows that your app failed to compile because of the Module not found: Error: Can't resolve 'crypto' error.

I found that this is a known issue and several users have reported workarounds on Github:
https://github.com/auth0/auth0-cordova/issues/88

Please open a new issue in the repository if your problem persists even after trying all the suggested workarounds.

Please let me know if there is anything else I can do to help.

Thank you.

1 Like

Thanks. I will check the workaround.