How nirmalagra/superset-saml-sso-integration works
This repository adds SAML single sign-on to Apache Superset. A user enters through the custom authentication view, which redirects to the SAML login route; the login manager handles SAML responses, finds or registers the Superset user, assigns roles, and establishes a session. Logout clears the session and initiates SAML logout. Configuration selects the custom security manager. The README documents compatibility with Azure ADFS and other SAML providers; details of settings.json and the omitted SAML initialization are not shown in the excerpts.
Main entry points: auth_saml.py SAML Login Manager · superset_config.py Superset Configuration
Components 7
Superset Configuration
- Superset Configuration
app/superset_config.py
SAML Authentication
- Auth View
app/auth_saml.py - SAML Login Manager
app/auth_saml.py
User Identity
- Custom Security Manager
app/auth_saml.py - Superset User Store
Other components
- User
- SAML Provider
Connections 8
- User → Auth View: requests login
app/auth_saml.py - Auth View → SAML Login Manager: redirects to route
app/auth_saml.py - SAML Login Manager → SAML Provider: starts SAML login
README.md - SAML Provider → SAML Login Manager: returns SAML response
README.md - SAML Login Manager → Superset User Store: queries and updates
app/auth_saml.py - SAML Login Manager → Custom Security Manager: registers users and roles
app/auth_saml.py - SAML Login Manager → User: establishes session
app/auth_saml.py - Superset Configuration → Custom Security Manager: selects manager
app/superset_config.py