Skip to content

[FEATURE REQUEST] Create new set of configurations for Kiteworks servers in setup.xml #4622

Closed

Description

@joragua

In order to support connection to Kiteworks servers, we need to define a new set of configurations entries in setup.xml. These values should be separate from the default ownCloud settings to avoid conflicts and allow independent configuration.

ownCloud configurations:

oauth2_client_id, oauth2_client_secret, oauth2_redirect_uri_scheme, oauth2_redirect_uri_host, oauth2_redirect_uri_path, oauth2_openid_scope and oauth2_openid_prompt

Candidate names for Kiteworks:

kiteworks_client_id, kiteworks_client_secret,kiteworks_redirect_uri_scheme, kiteworks_redirect_uri-host, kiteworks_redirect_uri_path,kiteworks_openid_scope and kiteworks_openid_prompt

TASKS

  • Research (if needed)
  • Create branch feature/new_setup_for_kiteworks_servers
  • Development tasks
    • Create new set of configurations for Kiteworks servers in setup.xml
    • Adapt the authentication flow for the new setup
    • Fix the logic in OwnCloudClient when /kwdav prefix is added and the account is attached
    • Adapt the token renewal process for the new setup
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/new_setup_for_kiteworks_servers into master

Activity

  1. changed the title [-][FEATURE REQUEST] Create new set of configurations for Kiteworks server in setup.xml[/-] [+][FEATURE REQUEST] Create new set of configurations for Kiteworks servers in setup.xml[/+] on Jul 2, 2025
  2. jesmrec commented on Jul 2, 2025

    @jesmrec
    Member

    Add also oauth2_openid_prompt

  3. self-assigned this
    on Jul 2, 2025
  4. added this to the 4.6 - Current milestone on Jul 7, 2025
  5. joragua commented on Jul 14, 2025

    @joragua
    MemberAuthor

    Summary

    • A new set of configurations in setup.xml has been created to connect to Kiteworks servers. The names of these variables are: kiteworks_client_id, kiteworks_client_secret, kiteworks_redirect_uri_path, kiteworks_redirect_uri_scheme, kiteworks_redirect_uri_host, kiteworks_openid_scope and kiteworks_openid_prompt

    • When connecting to a Kiteworks server, an OIDCServerConfiguration is always returned with the property isKiteworksServer set to true. This variable is used to determine which configuration should be selected from setup.xml file.

    • After a succesful login, the property isKiteworksServer is attached to the account in the AccountManager and then it is used to create the new network client.

    • If the server is from Kiteworks, the /kwdav prefix is added in each request except /well-known, /oauth/token and the requests that already have the prefix (only in the token renewal process)

  6. jesmrec commented on Jul 14, 2025

    @jesmrec
    Member

    I will add to the CR, but, i have a question:

    kiteworks_redirect_uri_path

    the oauth2 redirection uri is set by three parameters: scheme, host and path. Aren't all of them required?

  7. joragua commented on Jul 14, 2025

    @joragua
    MemberAuthor

    Yeah, they are required but in this case oauth2_redirect_uri_scheme and oauth2_redirect_uri_host are the same for Kiteworks servers. So... That's why I didn't add these parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions