drf-firebase-auth
drf-firebase-auth copied to clipboard
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.
When i try to migrate following as per the instructions, the **map_firebase_uid_to_username** is undefined variable. How to resolve this?
Now, you can map firebase users to local users based on fields other than `email` e.g. `phone_number`.
I did make a minor change, whereas, the phone number, if the user is registered with it in firebase, would be mapped to the email field in `auth_user`. I did...
Using this package with django 4.x gives the following error: ``` Traceback (most recent call last): File "/opt/pysetup/.venv/lib/python3.10/site-packages/rest_framework/settings.py", line 177, in import_from_string return import_string(val) File "/opt/pysetup/.venv/lib/python3.10/site-packages/django/utils/module_loading.py", line 30, in import_string...
Fixes #40 Simple PR to remove an unused call that was causing this library to fail in django 4
Removed unused `smart_text` import from the authentication.py. This line causes ImportError on Django 4.0
Hi admin, while working on production, my database sometimes does not take displayName. The reason for that the user name has more than 3 characters. Example: "John Jacob Astor"
Can someone help how to register the models of the package to be visible in the admin panel? I thought It would work if i add an admins.py with the...
It seems that linking providers would make it really hard to work with drf-firebase-auth. This branche is supposed to find a solution for this.
Maybe just me, could you provide an example how to use it? For example, do you still need to import firebase_admin, and verifyIdToken(), in every API calls?