Mattermost authentication and SSO

Signing users in to self-hosted Mattermost with each documented identity provider, enforcing MFA, and provisioning and removing accounts.

Mattermost SAML SSO with Microsoft Entra ID

Configuring Entra ID as the SAML 2.0 identity provider for Mattermost: the enterprise application, encryption certificates, attribute claims, and when to pick SAML over Entra ID OpenID Connect.

Mattermost OpenID Connect SSO with Microsoft Entra ID

Signing in to Mattermost with Entra ID over OpenID Connect: the app registration, the /signup/office365/complete redirect URI that requires TLS, client secret expiry, admin consent and the System Console settings.

Mattermost SAML SSO with Okta

Setting up Okta as a SAML identity provider for Mattermost: the SAML 2.0 app, single sign-on URL and audience, encrypted assertions, and the required email, username and ID attribute statements.

Mattermost SAML SSO with Microsoft AD FS

Using Active Directory Federation Services as the Mattermost SAML identity provider: the relying party trust, claim rules for email and username, encryption certificates, and forms-based login for desktop apps.

Mattermost SAML SSO with OneLogin

Connecting Mattermost to OneLogin, one of the three SAML providers Mattermost officially supports: the SAML connector, encryption certificates, attribute mapping and testing before rollout.

Mattermost single sign-on with Google Workspace

Letting users sign in to Mattermost with Google accounts through OpenID Connect: the OAuth client and redirect URI, enabling the People API, prepopulated discovery endpoint, and attributes that do not sync back.

Mattermost GitLab single sign-on

Using GitLab as the Mattermost sign-in provider: the GitLab application, scopes for OAuth 2.0 versus OpenID Connect, unsupported chained SSO, and the removal of GitLab SSO from Team Edition in v11.

Mattermost OpenID Connect SSO with any provider

Connecting Mattermost to Auth0, Okta, Keycloak and other OpenID Connect providers through the generic option: discovery endpoint, client credentials, preferred_username, converting old OAuth 2.0 settings, and attributes the IdP owns.

Combining Mattermost SAML with AD/LDAP sync

Closing the gap SAML leaves in Mattermost: no periodic attribute updates or deprovisioning, and how enabling AD/LDAP synchronization alongside SAML deactivates leavers and keeps profiles current.

Mattermost user provisioning and deprovisioning

Choosing how accounts are created and removed in Mattermost: on-demand at first login, pre-provisioning with bulk import or the REST API, stable user identifiers per auth method, and deactivation through LDAP sync or the console.

CAC and PIV smart card login for Mattermost

Supporting Common Access Card and PIV sign-in for Mattermost: CAC through the SAML identity provider, mutual TLS client certificates at the NGINX proxy for web and desktop, and the mobile app and v11 limits.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.