End-to-end guide to wiring third-party identity providers into the DarkCoders CISO Keycloak realm.
DarkCoders CISO ships with a Keycloak SAML IdP federation already configured per tenant.
The realm customers/ accepts inbound SAML 2.0 assertions from Okta, Azure AD,
ADFS, Auth0, and PingFederate.
Open: https://sso.darkcoders.com/realms/customers/
This XML file contains:
4. Default RelayState: blank
5. Name ID format: EmailAddress
6. Group attribute statements: groups -> Filter -> Matches regex -> .*
- Identifier: SP Entity ID
- Reply URL: ACS URL
user.mail -> NameID, user.groups -> groups4. Validate signatures: ON
POST /api/v1/v26/auth/role-map:
{
"tenant_id": "your-tid",
"idp_group": "ciso-admins",
"platform_role": "tenant-admin"
}
Sign in via the customer login wizard at https://portal.darkcoders.io/login?tid=.
You should land on /dash/admin with your IdP attributes visible at /api/v1/v26/auth/whoami.
| Symptom | Likely cause |
|---|---|
| 401 after IdP login | Audience mismatch - check Entity ID |
| Empty groups[] | Claim filter too narrow |
| InvalidSignature | Cert rotation - re-pull SP metadata |