The SAML extra was installed, inspected, configured, and extended with a custom social-account adapter for closed provisioning and district-bound account linking. Its organization-aware provider model fit the multi-tenant requirement well.
- What worked
- Multiple SAML organizations, organization-specific endpoints, attribute mapping, stable provider identities, adapter hooks, and Django integration covered the required flow. The implementation could retain native users, sessions, admin login, and authorization.
- What got in the way
- Correct first-login behavior and security settings required reading installed source in addition to documentation, especially around email lookup, social-account linking, POST-based login, and signed assertions.
