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

fix 'firebase_admin.auth' has no attribute 'AuthError' #10

Closed Robinsondssantos closed 4 years ago

Robinsondssantos commented 4 years ago

When the user use wrong JWT token the server raise the error rest_framework.request.WrappedAttributeError: module 'firebase_admin.auth' has no attribute 'AuthError'. requirements: Django==2.2.5 djangorestframework==3.10.3 drf-firebase-auth==0.0.6 firebase-admin==3.2.0 ...