With some easy and fast steps, you can enable Zammad to authenticate your users via Google.
Prior Zammad 2.9 it was necessary to activiate the Google+ API - it’s deprecated, thus this authentication will only work with Zammad 2.9 and later.
Register a Google app¶
First of all, we need to create a new project - you can skip this step if you already have one.
Use this link to create a new project:
Now expand the menu, expand „APIs & Services“ and select „Credentials“. Go to the tab „OAuth consent screen“ first and ensure to fill in the requested information - without doing so you can’t create credentials!
After filling in and savingthe consent screen information, you can change to „Credentials“ tab and create new „OAuth client ID“-Credentials.
Fill in the neceassary information, for restrictions you need the following (replace
zammad_host with your FQDN):
[x] Web application
Authorized redirect URIs
After creating the credentials, go to your Zammad installation and navigate to „Admin -> Security -> Third Party Applications“ -> Google. Enter your Client ID and Client secret here.
After submitting, the login via Google can be used.