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

Add more data to req.user from firestore #31

Closed realsama closed 3 years ago

realsama commented 3 years ago

Is there a way to subclass the library to add more logic that pulls in the user record from firestore and add it to the req.user object?

garyburgmann commented 3 years ago

probably, but this repo doesn't seek to incorporate firestore at all.