Welcome to Djangosaml2’s Documentation
A Django application that builds a fully compliant SAML2 Service Provider on top of PySAML2 library. Djangosaml2 protects your project with a SAML2 SSO Authentication, supporting features like HTTP-REDIRECT and HTTP-POST SSO Binding, Single logout, Discovery Service, Wayf page with customizable html template, IdP Hinting, IdP Scoping and Samesite cookie SSO workaround.
The entire project code is open sourced and therefore licensed under the Apache 2.0.
Setup
- Setup
- Configuration
- SameSite cookie
- Authentication backend
- Default Login path
- Handling Post-Login Redirects
- Redirect URL validation
- Preferred sso binding
- Preferred Logout binding
- Ignore Logout errors
- Discovery Service
- Idp hinting
- IdP scoping
- Authn Context
- Custom and dynamic configuration loading
- Bearer Assertion Replay Attack Prevention
- CSP Configuration
- Users, attributes and account linking
- Custom user attributes processing
- URLs
- PySAML2 specific files and configuration
Usage
Developer's
Miscellanea
FAQ
Security considerations