Repository navigation
Conversation
|
After opencloud-eu/opencloud#2072 got merged: are there changes needed here? @rhafer you might know best. It might even be needed to issue a new release in sync with v5.2.0 then to be able to make use of the new issuer behavior. |
|
@pat-s i noticed server was merged as well for 5.2.0 but client is still requesting client id "OpenCloudDesktop" does openclouddesktop need this merge as well |
|
@Chanceium Yes, changes are needed to make this work. |
Let's get this pushed 😭 |
|
As far as I can tell the implementations differ in some places. For example, I would suggest that persisting the |
|
@guruz I'd be happy if somebody from the team would rebase this and get it in - or any other fresh/new PR. Contributing here wasn't a great experience so far and at some point I have mainly given up pushing. I would still be interested in using OpenCloud one day - but first this problem must be resolved. |
|
Closing now that #847 is merged |
The desktop client cannot use webfinger platform client discovery (PR opencloud-eu/desktop#766 was never merged) and authenticates with its baked-in OpenCloudDesktop client id. Route its webfinger lookups (mirall user agent) through a rewrite proxy sidecar that points it at the dedicated OpenCloudDesktop Authentik issuer. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Hi all, Testing of pre-release with webfinger client_id/scope support would be appreciated. |
fix #246
Enables identity providers that require separate OIDC clients per application type (like Authentik, Kanidm, Zitadel) to work with the desktop client.
http://openid.net/specs/connect/1.0/issuer/desktop)client_idfrom WebFinger link properties when availableclient_idacross re-authenticationServer-side changes
To work, this PR requires changes in https://github.com/opencloud-eu/opencloud.
A complementary PR is available at opencloud-eu/opencloud#2072.
Additionally, the following env vars must be set on the admin side:
Here,
WEBFINGER_OIDC_ISSUER_DESKTOPis usually the root URL of the identity provider andWEBFINGER_OIDC_CLIENT_ID_DESKTOPcontains theclient_idof the respective oAuth project.With these changes, I was able to login into the Desktop app with a dedicated oAuth project through Zitadel (v4.7.0). The implementation should be generic and work with other oAuth providers as well.