Enable firebase OTP

In your root directory, under src folder, there is a file called main.js, open it and edit the firebaseConfig with your own data from firebase, set data to these variables below;

after that save.

For firebase otp to work properly, you need to first setup firebase on the backend properly.

Then add your domain/backend url as a trusted domain on firebase console.

  1. Go to firebase console and select your project

  2. Click on Authentication

  3. Then select sign-in method, scroll to the section title Authorised Domains

  4. Click on Add domain to add new domain to the firebase authorised domains.

  5. After adding your backend domain, click on Save

Last updated