Skip to main content

Overview

Federation allows enterprise users to authenticate with Xloud using their existing corporate identity provider (IdP) — no separate Xloud password required. Xloud Identity supports SAML 2.0 and OpenID Connect (OIDC) protocols. Users authenticate at the IdP and receive Xloud tokens mapped from their IdP attributes, inheriting project membership and roles through attribute mapping rules.
Administrator Access Required — This operation requires the admin role. Contact your Xloud administrator if you do not have sufficient permissions.

Federation Architecture


SAML 2.0 Setup

Register Xloud as SP in your IdP

Provide your IdP with the Xloud SAML SP metadata URL:
Configure the IdP to send the following SAML attributes:
  • ADFS_LOGIN or mail — the user’s login name
  • memberOf — group membership for role mapping

Register the IdP in Xloud

Create identity provider

Create attribute mapping rules

Mapping rules translate IdP attributes into Xloud group memberships:
mapping-rules.json
Upload mapping rules

Create the federation protocol

Link IdP, mapping, and SAML protocol
Federation protocol is active. Test by authenticating via the SSO URL.

OpenID Connect Setup

Register Xloud as OIDC client in your IdP

Register a new application in your OIDC provider (Keycloak, Azure AD, Okta):
  • Redirect URI: https://api.<your-domain>:5000/v3/OS-FEDERATION/identity_providers/<IDP_ID>/protocols/openid/auth/callback
  • Grant type: Authorization Code
  • Scopes: openid, profile, email, groups

Register the OIDC IdP in Xloud

Create OIDC identity provider

Create OIDC mapping rules

oidc-mapping-rules.json
Create OIDC mapping

Create the OIDC protocol

Create OIDC federation protocol

Mapping Rule Reference


Next Steps

Authentication Backends

Compare federation with LDAP and SQL backend options.

Domain Management

Assign federation backends to specific organizational domains.

Security Hardening

Secure federation endpoints and enforce MFA for federated sessions.

Admin Troubleshooting

Debug SAML assertion errors and OIDC token mapping failures.