Skip to main content

Authenticated users using Azure Active Directory.

Project description

Django Azure AD Auth

*Django Azure AD Auth* allows you to authenticate through Azure Active Directory.


Run `pip install django-azure-ad-auth`

Add the `AzureActiveDirectoryBackend` to your `AUTHENTICATION_BACKENDS` setting:




The Azure Tenant ID. It can be found in the URL of the Azure Management Portal.


The Azure Application Client ID.


**default:** `''`
The domain that is used for authorization, the federation metadata document, and loggin out.


**default:** `'openid'`
OAuth scope parameter.


**default:** `'id_token'`
Tells OAuth to return a JWT token in its response.


**default:** `'form_post'`
Defines how the response parameters are returned. Valid choices are `fragment` or `form_post`.


**default:** `True`
Allow creation of new users after successful authentication.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-azure-ad-auth-1.3.1.tar.gz (5.7 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page