garyburgmann / drf-firebase-auth

Firebase backend to receive a user idToken and authenticate via Django REST Framework 'authentication.BaseAuthentication'. Optionally, a new local user can be created in the process.
MIT License
127 stars 61 forks source link

Use with IsAuthenticatedOrReadOnly #5

Closed quorth0n closed 3 years ago

quorth0n commented 5 years ago

No Authorization header returns Invalid Authorization header format, expecting: JWT <token>., and a blank one results in JWT was found to be invalid, or the App’s project ID cannot be determined. Is this the intended behavior? I have ALLOW_ANONYMOUS_REQUESTS set to True.

quorth0n commented 5 years ago

Never mind, I was building from pip, and it seems the latest commits (#3) haven't been built yet.

waleko commented 5 years ago

@garyburgmann How about publishing the current version to pypi, so it's accessible via pip?

garyburgmann commented 5 years ago

Hey @waleko, I know I have been slack with this, I have personally moved away from this in favor of authenticating with a view and piggy backing off of the djangorestframework-jwt lib. I will review this over the weekend, and push up the changes to pypi