python-firebase
python-firebase copied to clipboard
I cant authenticate
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?
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