https://github.com/deeprave/django-email-auth-backend
Authentication Backend that supports either email or username login
https://github.com/deeprave/django-email-auth-backend
Last synced: 4 months ago
JSON representation
Authentication Backend that supports either email or username login
- Host: GitHub
- URL: https://github.com/deeprave/django-email-auth-backend
- Owner: deeprave
- License: apache-2.0
- Created: 2024-05-13T10:10:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-22T08:13:18.000Z (11 months ago)
- Last Synced: 2025-07-22T10:28:08.148Z (11 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-email-auth
A simple Django app to authenticate users via email (or username).
## Installation
1. Add the package to the project in the usual way according to your project toolset (pip, poetry, pyenv, uv, etc.).
2. Add the following to your `INSTALLED_APPS` setting:
```python
INSTALLED_APPS = [
...
'email_auth',
...
]
```
3. Add the `AUTHENTICATION_BACKENDS` setting:
```python
AUTHENTICATION_BACKENDS = [
'django_email_auth.backend.EmailAuthBackend',
]
```
You can now use either your email OR username to log in.