Integrate your existing Single-Sign-On (SSO) solution using the SAML protocol and provide your users with a convenient way to log in.
SamlUserSource — when enabled in the SAML settings, new SAML users are owned by a dedicated saml source, IdP-mapped attributes get locked in the profile, and approval bypass is now controlled by an explicit checkbox.ApprovalBypass and SyncAttributes markers from the SAML AuthClient (deprecated in core 1.16/1.19). When the new SamlUserSource is not enabled, new SAML users now follow the global Require approval before login setting like any other auth client — to keep the old "SAML always bypasses approval" behaviour, enable the new User Source option and leave its bypass-approval checkbox on.yii\authclient\BaseClient directly and implements SerializableAuthClient — the previous humhub\modules\user\authclient\BaseClient was removed by core 1.19 along with its built-in beforeSerialize() hook.CustomAuth interface (replacing the deprecated StandaloneAuthClient marker). The legacy authAction($authAction) method was renamed to handleAuthRequest(): ?Response — return a Response to redirect (SP → IdP) or null to hand control back to AuthAction::authSuccess(). Behavior unchanged for end users.SingleLogout interface — SAML::logout() was renamed to singleLogout(): ?Response and is dispatched by core's AuthController::actionLogout() directly. The previous EVENT_BEFORE_ACTION interception was removed.id / email / username / firstname / lastname from a curated list of well-known attribute names (LDAP OIDs, ADFS/SOAP schemas, Azure AD claims, raw shortnames). Fresh installs no longer get a pre-filled URN-only default mapping; admins only configure overrides or custom profile fields. Existing admin-configured mappings continue to win.onelogin/php-saml to 4.3.2 (xmlseclibs to 3.1.5) — fixes CVE-2026-32313.rsa-sha256 signature algorithm, sha256 digest algorithm). SHA-1 is deprecated and rejected by an increasing number of IdPs.requestedAuthnContext, default None — IdP decides) — ask the IdP to enforce a specific authentication strength (Password, Multi-Factor, Smartcard/PKI, Kerberos, X.509, TOTP). Useful to require MFA at the IdP for HumHub logins.email, username, firstname, lastname. Remove a field if your IdP doesn't deliver it so the user can still edit it manually. Auto-approve new SAML users now also only appears when the User Source is enabled (the setting had no effect otherwise).SameSite=Lax). The SP-initiated logout flow now builds the SAML LogoutRequest URL via $stay=true, clears the local Yii identity before redirecting to the IdP, and the /saml-sso/logout callback resolves the auth client from the authclient query parameter instead of User::getCurrentAuthClient(). Also fixes a latent bug where samlLogoutRequestID was captured before Auth::logout() had built the LogoutRequest (resulting in null being stored and InResponseTo validation being silently skipped on the response leg). Requires core 1.19.SyncAttributes applied to user on loginadvancedSettings in module configuration