website/integrations/infrastructure/zammad/index.md
import TabItem from "@theme/TabItem"; import Tabs from "@theme/Tabs";
Zammad is a web-based, open source user support/ticketing solution. Download and install it on your own servers. For free.
The following placeholders are used in this guide:
zammad.company is the FQDN of the Zammad installation.authentik.company is the FQDN of the authentik installation.:::info This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. :::
There are two ways to configure single sign-on for Zammad; SAML or OIDC.
<Tabs defaultValue="saml" values={[ { label: "Log in with SAML", value: "saml" }, { label: "Log in with OIDC", value: "oidc" }, ]}> <TabItem value="saml">
To support the integration of Zammad with authentik, you need to create an application/provider pair in authentik.
Log in to authentik as an administrator and open the authentik Admin interface.
Navigate to Applications > Applications and click Create with Provider to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
https://zammad.company/auth/saml/callback.https://zammad.company/auth/saml/metadata.https://zammad.company/auth/saml/metadata.Post.https://zammad.company/auth/saml/slo.Redirect.Front-channel (Iframe).Click Submit to save the new application and provider.
Provider for zammad).To configure Zammad's integration with authentik, go to Settings (the gear icon) and select Security > Third-party Applications. Next, activate the Authentication via SAML toggle and change the following fields:
https://authentik.company/application/saml/<application_slug>/sso/binding/redirect/https://authentik.company/application/saml/<application_slug>/slo/binding/redirect/urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress:::info The SSL verification can fail when Zammad tries to connect to authentik directly, while accessing authentik in your browser works perfectly fine. You may have to disable the verification in order to save the configuration. See https://github.com/zammad/zammad/issues/5225 for details. :::
</TabItem> <TabItem value="oidc">To support the integration of Zammad with authentik, you need to create an application/provider pair in authentik.
Log in to authentik as an administrator and open the authentik Admin interface.
Navigate to Applications > Applications and click Create with Provider to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
Public.Strict / https://zammad.company/auth/openid_connect/callback.Click Submit to save the new application and provider.
To configure Zammad's integration with authentik, go to Settings (the gear icon) and select Security > Third-party Applications. Next, activate the Authentication via OpenID Connect toggle and change the following fields:
Set the following fields:
https://authentik.company/application/o/<application_slug>/Click Submit to save the authentication settings.
At the very top of the Third-party Applications page are a few additional settings:
To verify that authentik is correctly integrated with Zammad, log out of Zammad and then log back in by clicking the SAML or OIDC button on the login screen. The button will show the Display Name you specified above. You should be redirected to authentik to log in, and if the process is successful, you'll be logged in to the Zammad dashboard.