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.
Go to firebase console and select your project
Click on Authentication
Then select sign-in method, scroll to the section title Authorised Domains
Click on Add domain to add new domain to the firebase authorised domains.
After adding your backend domain, click on Save
Last updated