Skip to content

Feature/Change request #792

@BerndSprenger

Description

@BerndSprenger

OAuth2 Client Name

Kanidm as OAuth2 Server

I wanted to setup OpenCloud as a self-hosted web application and the OpenCloudDesktop app on my Win11 PC. As idm I use Kanidm on my HomeLab. I got OpenCloud https server working together with Kanidm as idm. However, I couldn't get the Desktop app working. The reason seams to be, Kanidm converts the OAuth2 client name to lowercase. On OpenCloud-server, the default name is "web", and thus works with Kanidm, the desktop app uses "OpenCloudDesktop" which gets converted to lowercase on Kanidm, and thus, the authentication fails on the side of the OpenCloud desktop app, since it receives "openclouddesktop" as OAuth2 client name instead of "OpenCloudDesktop".

Solution would be one of the following three possibilities

  • Ignore the letter case when getting called back from the OAuth2 server.
  • Make the OAuth2 client name editable (not hardcoded).
  • Or change it to lowercase, which would brake compatibility with the existing installations, and thus is a no go.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions