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
128 stars 62 forks source link

Update authentication.py #37

Open diepnghitinh opened 2 years ago

diepnghitinh commented 2 years ago

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"