📊
Fuodz(webApp)
  • Introduction
  • Vue Web App
    • Getting Started
    • Directory Structure
    • Connect To Backend
    • App Color / Theme
    • Changing Icon & App name on Browser header
    • Shared Hosting
    • Enable Google Maps Javascript Api
  • How to Add languages
  • Enable firebase OTP
Powered by GitBook
On this page

Was this helpful?

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

PreviousHow to Add languages

Last updated 3 years ago

Was this helpful?

You're all set now