Labels

Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Saturday, February 25, 2017

Google Firebase Quickstarts for Javascript


.
Google Firebase Quickstarts for Javascript

1) Goto Firebase Github

Firebase Quickstarts for Javascript: https://github.com/firebase/quickstart-js

2) Download ZIP

3) Unzip and Find Scripts

For this exercise, we will be using Auth scripts.

4) Add Firebase Init Scripts

Let’s say we want to try the google-popup auth, copy the script to google-popup.html .
Your script initially is like below.
Replace the commented codes with the actual Firebase Init Scripts.

5) Start the localhost server

Error?

If you encounter the following error, go to Firebase Console and enable sign-in provider

Message
:
"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section."
__proto__
:
Error

In this exercise, we are going to enable Google Sign-in providers.
This time, sign-in popup window should be available.

Google Authentication with Popup is successful.

.

No comments:

Post a Comment