Overview
Polystack Identity supports multiple authentication drivers that can be combined within the same deployment. Each domain can use a different backend, allowing you to integrate enterprise LDAP directories or federated identity providers alongside local SQL accounts.Backend Comparison
SQL Backend (Default)
The SQL backend is active by default and requires no additional configuration. All user accounts created through the Dashboard or CLI are stored in MariaDB.Verify the SQL backend is active
LDAP Integration
LDAP integration sources users and groups from an external directory. Polystack Identity connects in read-only mode — user creation and password changes must happen in the directory, not in Polystack.Configure LDAP in the deployment console globals
Set the following in your deployment globals via the deployment console:
LDAP configuration in deployment globals
Deploy the configuration
Apply LDAP configuration
Verify LDAP connectivity
Test the LDAP connection from the Identity API node:
Test LDAP connectivity
User record is returned — LDAP is reachable and the bind account has read access.
SAML 2.0 Federation
SAML 2.0 federation enables SSO with corporate identity providers. Users authenticate at the IdP and receive Polystack tokens without a local password.Configure the identity provider in your IdP
Register Polystack as a service provider in your IdP. Provide the Polystack SAML metadata URL:
Register the IdP in Polystack
Create identity provider
Create attribute mapping
Define how IdP attributes map to Polystack groups and projects:Example mapping rules:
Create mapping rules
mapping-rules.json
Create the federation protocol
Link IdP, mapping, and protocol
Federation protocol is created. IdP users can now authenticate via SAML SSO.
OpenID Connect
OIDC federation uses OAuth 2.0 bearer tokens from a compatible provider (Google, Azure AD, Okta, Keycloak).Create OIDC identity provider
Create OIDC mapping
Create OIDC federation protocol
Next Steps
Domain Management
Assign different authentication backends to different domains.
Federation
Advanced federation configuration — mapping rules and attribute assertions.
Security Hardening
Secure your authentication backends with encryption and access controls.
Admin Troubleshooting
Debug LDAP connectivity and federation authentication issues.
