Guest User

Untitled

a guest
Nov 24th, 2018
1,952
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.52 KB | None | 0 0
  1. import pyrebase
  2. config = {
  3.     "apiKey": "AIzaSyD_1mbHZ5Dzgx3hN4A0Z3esupD7fbdaN8g",
  4.     "authDomain": "webapp-ce049.firebaseapp.com",
  5.     "databaseURL": "https://webapp-ce049.firebaseio.com",
  6.     "projectId": "webapp-ce049",
  7.     "storageBucket": "webapp-ce049.appspot.com",
  8.     "messagingSenderId": "20895127992"
  9. }
  10.  
  11. firebase = pyrebase.initialize_app(config)
  12.  
  13. auth = firebase.auth()
  14. email = input("Enter the email : ")
  15. password = input("Enter the pass : ")
  16. user = auth.sign_in_with_email_and_password(email,password)
Add Comment
Please, Sign In to add comment