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] Connect vanilla app to Kiteworks servers using no client secret #4588
changed the title [-]Connect vanilla app to Kws servers using no client secret[/-][+][FEATURE REQUEST] Connect vanilla app to Kws servers using no client secret[/+]on May 29, 2025
setup.xml file must be modified in order to connect to Kiteworks servers
There are some file operations that are not supported yet (we will open a new issue to integrate them)
Steps to establish connection to Kiteworks servers:
Check if /status.php fails and use /kwdav/status.php instead
Check if productname, included in the response, has the value kiteworks
Set isKiteworksServer variable to true in OwnCloudClient (the network client)
Add /kwdav prefix before each request except /.well-known and /oauth/token requests
When the token expires there are some additional steps to take into account:
If the token has expired, the request returns 401. That error is handled in ConnectionValidator.kt
Check if /kwdav/status.php fails
Check if /kwdav/dav/files fails. If it is a Kiteworks server, this request always returns 404 because there is no personal space. So in this case, there is an additional condition to refresh the token: check if the server is from Kiteworks instead of checking if the status request is unauthorized.
NOTE: In oC servers, when the token has expired, all requests return 401.
changed the title [-][FEATURE REQUEST] Connect vanilla app to Kws servers using no client secret[/-][+][FEATURE REQUEST] Connect vanilla app to Kiteworks servers using no client secret[/+]on Jun 4, 2025
Activity
[-]Connect vanilla app to Kws servers using no client secret[/-][+][FEATURE REQUEST] Connect vanilla app to Kws servers using no client secret[/+]joragua commentedon Jun 4, 2025
PKCEis used by default in oC Android appsetup.xmlfile must be modified in order to connect to Kiteworks serversSteps to establish connection to Kiteworks servers:
/status.phpfails and use/kwdav/status.phpinsteadproductname, included in the response, has the valuekiteworksisKiteworksServervariable to true inOwnCloudClient(the network client)/kwdavprefix before each request except/.well-knownand/oauth/tokenrequestsWhen the token expires there are some additional steps to take into account:
401. That error is handled inConnectionValidator.kt/kwdav/status.phpfails/kwdav/dav/filesfails. If it is a Kiteworks server, this request always returns404because there is no personal space. So in this case, there is an additional condition to refresh the token: check if the server is from Kiteworks instead of checking if the status request isunauthorized.NOTE: In oC servers, when the token has expired, all requests return
401.[-][FEATURE REQUEST] Connect vanilla app to Kws servers using no client secret[/-][+][FEATURE REQUEST] Connect vanilla app to Kiteworks servers using no client secret[/+]