Skip to main content

Simple app to enable Microsoft Account, Office 365 Enterprise, Azure AD, and Xbox Live authentication as a Django authentication backend on a per-site basis.

Project description

Django Sites Microsoft Authentication Backend

Travis CI Updates Documentation Status Coverage Maintainability Test Coverage

Simple app to enable Microsoft Account, Office 365 and Xbox Live authentcation as a Django authentication backend that is compatible and configurable across multiple sites.

Features

  • Provides Django authentication backend to do Microsoft authentication (including Microsoft accounts, Office 365 accounts and Azure AD accounts) and Xbox Live authentication.

  • Provides Microsoft OAuth client to interfacing with Microsoft accounts

Python/Django support

django_sites_microsoft_auth follows the same support cycle as Django, with one exception: no Python 2 support. If you absoutely need Python 2.7 support, everything should largely already work, but you may need to patch sites_microsoft_auth.admin and/or other files to get it to work.

Supported python versions: 3.5+

Supported Django version: 1.11 LTS, 2.1+

https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django

Note: Even though Django 1.11 LTS supports Python 3.4, I do not and you should not either. Official support for 3.4 was dropped in March 2019.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

1.0.2 (2020-03-13)

  • Fix get_hook() to work with database configuration.

1.0.1 (2020-03-13)

  • Fixes bug when reading user attribute mappings.

1.0.0 (2020-03-13)

  • Fixes bug with Site note existing

  • Add feature to sync user attributes from Azure AD.

0.2.11 (2020-01-13)

  • Fixes bug where the max_length on a CharField wasn’t long enough for all choices to be stored.

0.2.10 (2019-09-24)

  • Fixes bug in 0.2.9 where cache key was failing.

0.2.9 (2019-09-24)

  • Update cache to work on a per-site basis.

0.2.8 (2019-09-23)

  • Fix bug where migrations were relying on undefined ordering.

0.2.7 (2019-09-23)

  • Fix tests to work with new default for login_enabled.

0.2.6 (2019-09-23)

  • Make sure migrations for sites_microsoft_auth run after migrations for sites framework.

0.2.5 (2019-09-23)

  • Add SiteConfiguration object for all sites during initial migrate.

  • Change default for login_enabled to False

0.2.4 (2019-09-23)

  • Fix bug where ‘MicrosoftAuthenticationBackend` is not respecting site on the MicrosoftAccount model.

0.2.3 (2019-09-23)

  • Fixed bug with MicrosoftAuthenticationBackend not restricting users to their respective sites.

0.2.2 (2019-09-23)

  • Updated package name to sites_microsoft_auth from microsoft_auth

0.2.1 (2019-09-23)

  • Updated documentation.

0.2.0 (2019-09-23)

  • First working release on PyPi

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_sites_microsoft_auth-1.0.2.tar.gz (57.2 kB view details)

Uploaded Source

Built Distribution

django_sites_microsoft_auth-1.0.2-py2.py3-none-any.whl (30.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_sites_microsoft_auth-1.0.2.tar.gz.

File metadata

  • Download URL: django_sites_microsoft_auth-1.0.2.tar.gz
  • Upload date:
  • Size: 57.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for django_sites_microsoft_auth-1.0.2.tar.gz
Algorithm Hash digest
SHA256 35841d6286cfa9374d1f6e9c81a8bc7f976e7edcf50d194b7f822a9455dfcd63
MD5 e78892b164d57f924bb9f5d128ebfc92
BLAKE2b-256 4630109d04506e32dde4489758862875f9a3d7182833ad18ad1495af0b78a724

See more details on using hashes here.

Provenance

File details

Details for the file django_sites_microsoft_auth-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: django_sites_microsoft_auth-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for django_sites_microsoft_auth-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 16453b187bd3e54a7274ac86cc1c015028c31f438a06120b5f51ac4611322db6
MD5 1baa32744b4ffb025e6242edfc693f9d
BLAKE2b-256 488cd577fb4889489097d2da117c4d762fde08345d690a692d25d090babc703b

See more details on using hashes here.

Provenance

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