Actual behaviour
-
OIDC login completes successfully.
-
Authentik successfully returns the authorization code,
/tokenreturns200, and/userinforeturns200. -
ownCloud Android successfully calls
/ocs/v2.php/cloud/user?format=jsonand receives200. -
After successful authentication, the app never loads the file list.
-
No further WebDAV requests are made.
-
Uploads remain stuck in
TRANSFER_QUEUED/TRANSFER_IN_PROGRESS. -
The Android log repeatedly stops at:
SingleSessionManager: getClientFor starting OwnCloudClient: Creating OwnCloudClient AccountUtils: Trying to retrieve credentials for oAuth account... -
The same behaviour occurs with ownCloud Android 4.8.3 and 4.8.4 beta, and with oCIS 8.0.8 and 8.2.0.
Expected behaviour
- After successful OIDC authentication, the app should load the remote file list and allow uploads/downloads normally.
Steps to reproduce
-
Configure oCIS with Authentik as the OIDC provider.
-
Connect using ownCloud Android 4.8.3 or 4.8.4.
-
Complete the OIDC login successfully.
-
Open the file list or start an upload.
Can this problem be reproduced with the official owncloud server?
(url: https://demo.owncloud.org, user: test, password: test)
The same Android device and the same ownCloud app also fail to connect to the official ownCloud demo server (https://demo.owncloud.org) with an SSL connection error.
Environment data
Android version: 16
Device model: SM-S926B/DS (Galaxy S24+)
Stock or customized system: Stock One UI 8.5
ownCloud app version: 4.8.3/4.8.4 beta (tried both)
ownCloud server version: 8.0.8/.8.2.0 (tried both)
Logs
Web server error log
no server errors
ownCloud log (data/owncloud.log)
D: 2026-09-02 15:12:37:311(FileDisplayActivity.kt:382)Initializing Fragments in onAccountChanged..
D: 2026-09-02 15:12:37:313(SingleSessionManager.java:98)getClientFor starting
I: 2026-09-02 15:12:37:313(AccountUtils.java:115)Trying to retrieve credentials for oAuth accountmikko@ocis.domain.com
E: 2026-09-02 15:12:37:312(FileDisplayActivity.kt:450)Still have a chance to lose the initialization of list fragment >(
D: 2026-09-02 15:12:37:314(SingleSessionManager.java:98)getClientFor starting
D: 2026-09-02 15:12:37:315(OwnCloudClient.java:97)#24Creating OwnCloudClient
I: 2026-09-02 15:12:37:315(AccountUtils.java:115)Trying to retrieve credentials for oAuth accountmikko@ocis.domain.com
D: 2026-09-02 15:12:37:314(SingleSessionManager.java:98)getClientFor starting
D: 2026-09-02 15:12:37:315(OwnCloudClient.java:97)#25Creating OwnCloudClient
I: 2026-09-02 15:12:37:315(AccountUtils.java:115)Trying to retrieve credentials for oAuth accountmikko@ocis.domain.com
The client repeatedly stops after:
"Trying to retrieve credentials for oAuth account..."
No subsequent WebDAV request is made.