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:

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.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.