DjaoDjin-Signup
This repository contains a Django App for user authentication (intended
as a replacement for the django.contrib.auth.views pages), and user account
pages.
Major Features:
- HTML forms and API-based authentication
- Cookies, JWT, API Keys
- OTP codes
This project contains bare bone templates which are compatible with Django and Jinja2 template engines. To see djaodjin-signup in action as part of a full-fledged subscription-based session proxy, take a look at djaoapp.
Install
Add the signup urls to your urlpatterns and EmailOrUsernameModelBackend to the settings AUTHENTICATION_BACKENDS.
urls.py:
urlpatterns = ('',
(r'^api/', include('signup.urls.api')),
(r'^', include('signup.urls.views')),
)
settings.py:
AUTHENTICATION_BACKENDS = (
'signup.backends.auth.EmailOrUsernameModelBackend',
'django.contrib.auth.backends.ModelBackend'
)
Development
After cloning the repository, create a virtualenv environment, install the prerequisites, create and load initial data into the database, then run the testsite webapp.
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
$ make vendor-assets-prerequisites
$ make initdb
$ python manage.py runserver
# Browse http://localhost:8000/
Release Notes
Tested with
- Python: 3.12, Django: 5.2 (LTS)
- Python: 3.14, Django: 6.0 (next)
- Python: 3.10, Django: 4.2 (legacy)
- Python: 3.9, Django: 3.2 (legacy)
0.11.5
- prevents reset password to bypass OTP if exists (security fix)
- enables reset of a user password through the API
Metadata
Release files for djaodjin-signup 0.11.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djaodjin_signup-0.11.5.tar.gz | 105.7 kB | Without provenance | Details for djaodjin_signup-0.11.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djaodjin_signup-0.11.5-py3-none-any.whl | Python 3 | none | any | Details for djaodjin_signup-0.11.5-py3-none-any.whl |
Total release size: 273.4 kB
Release files / djaodjin_signup-0.11.5.tar.gz
| Download URL | djaodjin_signup-0.11.5.tar.gz |
|---|---|
| Size | 105.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0643a1b9eb57b6db2c7295ca891da9cc3d31137fae35ad05df50b15842578e0d
|
|
BLAKE2b-256 checksum How to use checksums |
bea86c4a7da349533a2f10b1cbc5723b498f52e2b81cfb089e6ac2804fd954d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.8
|
Release files / djaodjin_signup-0.11.5-py3-none-any.whl
| Download URL | djaodjin_signup-0.11.5-py3-none-any.whl |
|---|---|
| Size | 167.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7f701e7d75e98ff7ff11e7ed8dc8d8bb4417c3be5cd73f5da4ce59cfc836cc0
|
|
BLAKE2b-256 checksum How to use checksums |
e5d9133c6fb88fddacf8642ada5795c1c178c4cf4506b4fe7dd5c51dd8e8d196
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.8
|
Security for djaodjin-signup 0.11.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.