Django Azure AD Auth Redux
Django Azure AD Auth allows you to authenticate through Azure Active Directory.
This fork has the following additional features:
- Add the specification of the decode algorithm per newer PyJWT requirements.
- Supports django > 3.2.18
Installation
Run pip install django-azure-ad-auth-redux
Add the AzureActiveDirectoryBackend to your AUTHENTICATION_BACKENDS setting:
AUTHENTICATION_BACKENDS = (
...
"azure_ad_auth.backends.AzureActiveDirectoryBackend",
)
Settings
AAD_TENANT_ID
The Azure Tenant ID. It can be found in the URL of the Azure Management Portal.
AAD_CLIENT_ID
The Azure Application Client ID.
AAD_AUTHORITY
default: "https://login.microsoftonline.com"
The domain that is used for authorization, the federation metadata document, and logging out.
AAD_SCOPE
default: "openid"
OAuth scope parameter.
AAD_RESPONSE_TYPE
default: "id_token"
Tells OAuth to return a JWT token in its response.
AAD_RESPONSE_MODE
default: "form_post"
Defines how the response parameters are returned. Valid choices are fragment or form_post.
AAD_USER_CREATION
default: True
Allow creation of new users after successful authentication.
AAD_USER_MAPPING
default: {}
Map fields from the token to the user, to be used on creation.
AAD_USER_STATIC_MAPPING
default: {}
Map static values to user fields on creation.
AAD_GROUP_MAPPING
default: {}
Map group ids to group names for user permissions.
Metadata
Release files for django-azure-ad-auth-redux 1.5.26
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_azure_ad_auth_redux-1.5.26.tar.gz | 7.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_azure_ad_auth_redux-1.5.26-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.2 kB
Release files / django_azure_ad_auth_redux-1.5.26.tar.gz
| Download URL | django_azure_ad_auth_redux-1.5.26.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
beed5c6237092f72a363f2becf3d4554dbdf74b8cce20e43a75ea3295b796e0e
|
|
BLAKE2b-256 checksum How to use checksums |
92275d556ad2822119e2beb3bbc03d7462a285d7cf9f064e82b558270e5a7010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.15
|
Release files / django_azure_ad_auth_redux-1.5.26-py3-none-any.whl
| Download URL | django_azure_ad_auth_redux-1.5.26-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8f9b0bc0ef0dbe6aea4fcbe21d16e98a85d3df56e440bdb6a8d02512be3cab5
|
|
BLAKE2b-256 checksum How to use checksums |
a1904d5eddafe9a10e4ef230c2c62299b199ec775a56c3e614305bf81225fbf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.15
|
Security for django-azure-ad-auth-redux 1.5.26
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.