Possibility to configure Client Secret in OpenId Connect login

Infos:

  • Used Zammad version: 6.5
  • Used Zammad installation type: docker-compose

Hello Zammad,

I’m trying to implement the new OIDC login feature with my rails app as an OP, the OP is implemented using doorkeeper_openid-connect gem, and enforces the discovery feature.

Zammad correctly finds the auth endpoints thanks to the /.well-known/openid-configuration endpoint, but the request is rejected by my OP as it lacks a client_secret parameter.

Is there a way to configure the client-secret in Zammad ?

Thanks!

2 Likes

Hi @marieglr. Right now, there is no way to configure a client secret, I’m sorry.

This sounds like a must-have feature request if it isn’t already in the works. I’m trying to configure okta OIDC auth in Zammad, similar to how we auth WordPress, but I’m not having any luck since I can’t set the keys.

Is there a way now or in the future to set environment variables like in the Example configuration for omniauth_openid_connect?

Or similar to oidc-wp:

Thanks

1 Like

Like already mentioned by @fliebe92, this is currently not possible. But for sure, this was the first step of the implementation, and the focus was on the easiest way of configuration.

2 Likes

For the first implementation, it makes total sense to go for the easiest way of configuration!

But I also agree with @Mk1DzL, it’s going to be a huge blocker for most OAuth2 providers. Would you be open to a PR if the community want to had support for such configuration?

1 Like

Hey @fliebe92 @dominikklein, you might have missed my latest message: would you be open to a PR to enhance support for OpenID Connect in Zammad? It’s a wonderful piece of software, we would happy to contribute if that can help the community.

1 Like

Hi! For sure, always. Feel free to check out the documentation for contributing: Start — Zammad System Documentation documentation

1 Like

I also need this. For example: Infomaniak Auth also uses a Client Secret.

A PR was opened here: Feature: Add manual OpenID Connect settings by pirhoo · Pull Request #5711 · zammad/zammad · GitHub

Where you able to clarify from product context if you want to implement this @fliebe92 ? thanks :slight_smile:

Hi @marieglr. Unfortunately not, the pipeline was full of other stuff.

What we definitely need is a way to make the admin interface more dynamic, the OIDC config contains too many fields (in case discovery is not used). Still thinking about it.

1 Like