Skip to main content

Authenticate users using SharePoint.

Project description

Django SharePoint Auth
======================

*Django SharePoint Auth* allows you to authenticate using your **managed** or **federated** Active Directory credentials.

Installation
------------

Run `pip install django-sharepoint-auth`

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

```python
AUTHENTICATION_BACKENDS = (
...
'sharepoint_auth.auth.ActiveDirectoryBackend',
)
```

Settings
--------

###AD_USER_CREATION

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


###AD_DOMAIN_WHITELIST

**default:** `None`
Either `None` meaning allow all or a list of domains that can authenticate through Active Directory.

###AD_DOMAIN_BLACKLIST

**default:** `[]`
A list of domain that will be block from authenticating through Active Directory.

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-sharepoint-auth-2.1.zip (8.6 kB view hashes)

Uploaded source

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