Contents

django-auth-adfs 1.14.0

0

A Django authentication backend for Microsoft ADFS and AzureAD

A Django authentication backend for Microsoft ADFS and AzureAD

Stars: 263, Watchers: 263, Forks: 97, Open Issues: 34

The snok/django-auth-adfs repo was created 8 years ago and the last code push was 2 weeks ago.
The project is popular with 263 github stars!

How to Install django-auth-adfs

You can install django-auth-adfs using pip

pip install django-auth-adfs

or add it to a project with poetry

poetry add django-auth-adfs

Package Details

Author
Joris Beckers
License
BSD-1-Clause
Homepage
https://github.com/snok/django-auth-adfs
PyPi:
https://pypi.org/project/django-auth-adfs/
Documentation:
https://django-auth-adfs.readthedocs.io/en/latest
GitHub Repo:
https://github.com/snok/django-auth-adfs

Classifiers

  • Internet/WWW/HTTP
  • Internet/WWW/HTTP/Dynamic Content
  • Internet/WWW/HTTP/WSGI
  • Software Development/Libraries/Application Frameworks
  • Software Development/Libraries/Python Modules
No  django-auth-adfs  pypi packages just yet.

Errors

A list of common django-auth-adfs errors.

Code Examples

Here are some django-auth-adfs code examples and snippets.

GitHub Issues

The django-auth-adfs package has 34 open issues on GitHub

  • Use Azure v2.0 endpoints
  • Working with Azure Front Door and custom domain
  • Logout should support post
  • get_group_memberships_from_ms_graph returns only first 100 users
  • Users continue to be authenticated past access token expiry
  • Why not pass authorize code/access_token when oauth2/callback redirect to LOGIN_REDIRECT_URL?
  • could we have USERNAME_CLAIM non-mandatory?
  • [Suggestion]: To be added to documentation
  • The user is not redirected to a microsoft page
  • Azure Active Directory AADSTS54005 error issue
  • HOWTO set up is_staff and is_superuser from Azure to App
  • Support mapping groups' IDs to names for Django groups
  • Handle groupmemberships over SAML/JWT limit by following and parsing Graph URI results
  • Processing of claim mappings
  • Rewrite to support async/ASGI Django (Waiting for Django ORM to be async)

See more issues on GitHub

Related Packages & Articles

django-allauth 0.62.1

Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.

Authlib 1.3.0

The ultimate Python library in building OAuth and OpenID Connect servers and clients.

authx 1.1.1

Ready to use and customizable Authentications and Oauth2 management for FastAPI

oauthlib 3.2.2

A generic, spec-compliant, thorough implementation of the OAuth request-signing logic