Apache Superset supports various authentication and security features, including OAuth, OpenID Connect, LDAP, and database-backed authentication. It also offers role-based access control (RBAC) for granular permissions management.
To integrate Superset with an organization’s existing security systems, follow these steps:
1. Identify the appropriate authentication method supported by both Superset and your organization’s system.
2. Configure Superset to use the chosen authentication method by modifying its configuration file (superset_config.py).
3. Set up RBAC by defining roles and assigning them to users or groups within your organization.
4. Map your organization’s user attributes to Superset’s user model fields if necessary.
5. Test the integration thoroughly to ensure seamless authentication and proper access control.
For example, integrating with LDAP:
from flask_appbuilder.security.manager import AUTH_LDAP
AUTH_TYPE = AUTH_LDAP
AUTH_LDAP_SERVER = "ldap://your-ldap-server.com"
AUTH_LDAP_SEARCH = "ou=users,dc=example,dc=com"
AUTH_LDAP_UID_FIELD = "uid"