Zammad REST-API Auth with keyclock Oauth2

Infos:

  • Used Zammad version: 6.3.1
  • Used Zammad installation type: docker-compose
  • Operating system: ubuntu 22.04

Expected behavior:

  • Our clients are authenticated through keyclock with Oauth2 protocol.what we are looking for is to use zammad restapi to enable users to create tickets but the problem we are facing is zammad does not support Oauth2 protocol for restapi authentication…am i right???

Actual behavior:

Steps to reproduce the behavior:

Not sure if this helps:
Zammad supports API calls using oauth2.
https://docs.zammad.org/en/latest/api/intro.html#authentication
However, you need to create the token by logging into relevant user account in Zammad (say create an API user account with relevant privileges first?).
There is an authorization code flow also available to create the token - the endpoints are explained under Settings > System > API > Applications.

However, it all depends on your use case what you are trying to do - Kind of SSO between Keycloak and Zammad?