Auth0 Home Blog Docs

Ionic react app

Good day,
Have problem with authentication on Ioinic + React app.
I am using your start guide
I have skipped steps next steps because i am running on react not angular

Auth0-Cordova requires the node library crypto, however since Angular CLI version 6+ you are now required to use a polyfill for this library. You can accomplish this using a custom webpack configuration.

To customize the webpack configuration you need to install the custom webpack builders for angular.

# installation with npm
npm install -D @angular-builders/custom-webpack

# installation with yarn
yarn add --dev @angular-builders/custom-webpack

Then, create webpack.config.js file and add the configuration to enable the crypto pollyfill.

The problem is that when i enter my credentials and click login it hangs
The way it looks you may see in next comments to issues.

1 Like