sevensolutions / traefik-oidc-auth

🧩 A traefik Plugin for securing the upstream service with OpenID Connect acting as a relying party.
https://traefik-oidc-auth.sevensolutions.cc/
MIT License
17 stars 3 forks source link

token is malformed error when using zitadel #8

Closed vanlueckn closed 2 months ago

vanlueckn commented 2 months ago

I tried this package with ZITADEL. How did you configure the zitadel project and app?

With my config i get this error after login:

token is malformed: token contains an invalid number of segments

sevensolutions commented 2 months ago

Hi @vanlueckn this is my ZITADEL config:

Application Type: Web Response Types: Code Authentication Method: Basic Grant Types: Authorization Code

Under "Token Settings" make sure you set Auth Token Type to JWT. I think this is the cause for this error.

vanlueckn commented 2 months ago

Thank you, it does work now