You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE REQUEST] Create new set of configurations for Kiteworks servers in setup.xml #4622
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
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
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)
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.
Activity
[-][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[/+]jesmrec commentedon Jul 2, 2025
Add also
oauth2_openid_promptjoragua commentedon Jul 14, 2025
Summary
A new set of configurations in
setup.xmlhas 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_scopeandkiteworks_openid_promptWhen connecting to a Kiteworks server, an
OIDCServerConfigurationis always returned with the propertyisKiteworksServerset to true. This variable is used to determine which configuration should be selected fromsetup.xmlfile.After a succesful login, the property
isKiteworksServeris attached to the account in theAccountManagerand then it is used to create the new network client.If the server is from Kiteworks, the
/kwdavprefix is added in each request except/well-known,/oauth/tokenand the requests that already have the prefix (only in the token renewal process)jesmrec commentedon Jul 14, 2025
I will add to the CR, but, i have a question:
kiteworks_redirect_uri_paththe oauth2 redirection uri is set by three parameters: scheme, host and path. Aren't all of them required?
joragua commentedon Jul 14, 2025
Yeah, they are required but in this case
oauth2_redirect_uri_schemeandoauth2_redirect_uri_hostare the same for Kiteworks servers. So... That's why I didn't add these parameters.