python-firebase icon indicating copy to clipboard operation
python-firebase copied to clipboard

I cant authenticate

Open TheMasterRoot opened this issue 6 years ago • 1 comments

Im trying authenticate in my firebase whit a created user.

authentication = FirebaseAuthentication('mypass','[email protected]', True, True)
firebase = FirebaseApplication('https://admt.firebaseio.com/', None)
firebase.authentication = authentication

and the error is

File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
   raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url:

there is a way to auth whit master apikey account? or how to auth whit user and password?

TheMasterRoot avatar Jul 08 '19 20:07 TheMasterRoot

I had the same problem and posted this question and my solution here: https://stackoverflow.com/questions/57530684/firebase-database-401-for-all-get-and-post-requests-using-auth-version-2/57530708#57530708

duhaime avatar Aug 16 '19 20:08 duhaime