Guest User

demo.py

a guest
Nov 24th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. import pyrebase
  2. config = {
  3.     "apiKey": "hidden",
  4.     "authDomain": "hidden",
  5.     "databaseURL": "hidden",
  6.     "projectId": "hidden",
  7.     "storageBucket": "hidden",
  8.     "messagingSenderId": "hidden"
  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