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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page