Closed meinrecht closed 3 days ago
I seem to be having exactly the same problem, except with Amazon Cognito. I've set up a large number of various OAuth client applications on multiple providers, including Authentik, Keycloak, Microsoft, and Amazon Cognito, and I've never come across this frustrating problem before. What is missing in Leantime that is causing this?
PKCE is currently not supported. We are in the midst of switching some of the authentication layers and I'll take another look at that.
This should work now as of 3.3.1
OIDC does not work with Zitadel Zitadel is an OIDC provider that allows to use the methods "PKCE" and "Code" by the client application.
When I configure my self-hosted Leantime-instance with the docker environment variables, that I tried to deduce from other configurations described, I am not able to authenticate with zitadel. Those are:
In Zitadel the "redirect URL" is set to: https://leantime.example.tld/oidc/callback
When using "OIDC Login" on leantime, after being redirected to my zitadel-instance and giving my credentials, I am not redirected back. When I reopen the page, where leantime sits, again, I can see an error message, that depends on the above mentioned method that zitadel should use for this client:
So this looks, like PKCE is not supported at all.
There is no error message on the Zitadel side in this case.
I would like to be able to use Zitadel as OIDC provider for leantime, be it with PKCE or Code.
If that is not achievable it would at least be helpful to specify in the documentation what exactly is required from the OIDC provider for the integration to work.
Additional context
I am aware that Zitadel is not one of the most common IAM providers, but it seems others have similar problems, like in #2088 (gitlab). I also read #2009, but could not find anything helpful.