Skip to content

mbenaiss/firebase-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firebase Auth example

This example shows how to use Firebase Auth for a golang server.

Setup

  1. Create a Firebase project using the Firebase Developer Console.
  2. Enable the Email/Password sign-in provider in the Authentication > SIGN-IN METHOD tab.
  3. Download a service account from the Firebase Console (Settings > Service Accounts) and set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the path to the downloaded service account credentials file.
  4. Add your FIREBASE_API_KEY key in .env file
  5. Run go run main.go to start the server.
  6. Visit http://localhost:8080 to view the sample.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages