Custom Remote User
=====
Custom Remote User is a Django app that extends remote user authentication
enabling custom common behavior. The app currently offers only a case-insensitive
backend `CaseInsensitiveRemoteUserBackend`.
`CaseInsensitiveRemoteUserBackend` guarantees that all users created using an
external authentication service are created with an all-lower case username.
This is important because some external authentication services return a
case-sensitive username upon login. This is problematic with Django as the built-in
user model is case-sensitive. This means a single remote user may have two different
records in that database (e.g. 'Username' is different than 'username').
Quick start
-----------
1. Add "custom_remote_user" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'custom_remote_user',
]
2. Add CaseInsensitiveRemoteUserBackend::
AUTHENTICATION_BACKENDS = [
'custom_remote_user.backends.CaseInsensitiveRemoteUserBackend',
]
3. Add the required middlewares for remote user authentication::
MIDDLEWARE = [
...
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.RemoteUserMiddleware',
...
]
Metadata
Release files for django-custom-remote-user 0.3
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 | |
|---|---|---|---|---|
| django-custom-remote-user-0.3.tar.gz | 2.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_custom_remote_user-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / django-custom-remote-user-0.3.tar.gz
| Download URL | django-custom-remote-user-0.3.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ccba5286932339b19fe980eebdb717caaa67c27b8b1daee9ffaa280be0e3d0a
|
|
BLAKE2b-256 checksum How to use checksums |
6cf51b59e1077176fea3ba117a2bc1d4e92c56e48cd0a1cfee7dd23e4fed4a02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.10
|
Release files / django_custom_remote_user-0.3-py3-none-any.whl
| Download URL | django_custom_remote_user-0.3-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fa95af66dc99a7aa44666aa1c123d286f1a86f1bdffe73bacbadb33a32c46b8
|
|
BLAKE2b-256 checksum How to use checksums |
1b5c77c7df4a80129a66b201c18e15b3459441549780a507d2a29cc62b45eb93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.10
|
Security for django-custom-remote-user 0.3
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.