Single sign-on (SSO)
Configure SAML 2.0 SSO with Azure AD, Okta, Google Workspace, or any SAML IdP.
Overview
Allocentra acts as a SAML 2.0 service provider (SP). Your identity provider (IdP) authenticates users and posts a SAML assertion back to Allocentra. Users must already exist in your workspace with an email that matches the SAML NameID.
Service provider values
Copy these from Settings → SSO or use the values below:
| Field | Value |
|---|---|
| SP Entity ID | https://api.allocentra.co.za/api/v1/auth/sso/metadata/ |
| ACS URL (Assertion Consumer Service) | https://api.allocentra.co.za/api/v1/auth/sso/acs/ |
| NameID format | Email address |
| ACS binding | HTTP POST |
Azure AD (Entra ID)
- Azure portal → Enterprise applications → New application → Create your own (non-gallery).
- Set up single sign-on → SAML.
- Identifier (Entity ID): https://api.allocentra.co.za/api/v1/auth/sso/metadata/
- Reply URL (ACS): https://api.allocentra.co.za/api/v1/auth/sso/acs/
- Edit attributes — set
Unique User Identifier (Name ID)touser.mailoruser.userprincipalname. - Copy the IdP Entity ID, Login URL, and X.509 certificate into Allocentra SSO settings.
- Assign users or groups who should access Allocentra.
Okta
- Create a new SAML 2.0 app integration.
- Single sign-on URL = ACS URL above; Audience URI = SP Entity ID.
- Name ID format: EmailAddress.
- Attribute statements: email → user.email.
- Paste IdP metadata (issuer, SSO URL, cert) into Allocentra.
Google Workspace
- Admin console → Apps → Web and mobile apps → Add custom SAML app.
- ACS URL and Entity ID as above.
- Name ID: Basic information → Primary email.
- Download the Google IdP certificate and enter SSO URL + entity ID in Allocentra.
Enable SSO in Allocentra
- Settings → SSO → enter IdP Entity ID, SSO URL, and PEM certificate.
- Enable SSO and save.
- Test from the login page: enter your email → Continue with SSO.
- Optional: enable Enforce SSO to block password login for the workspace.
Troubleshooting SSO
- No matching user — create the user in Allocentra first with the same email as the IdP NameID.
- SSO not configured — confirm SSO is enabled and IdP URLs are saved.
- Certificate errors — paste the full PEM including
BEGIN/END CERTIFICATElines.