Hi,
I am testing authenticating my Nextcloud Desktop client on macOS via the CLI, i.e.:
/Applications/Nextcloud.app/Contents/MacOS/Nextcloud \
--userid "<userid>" \
--apppassword "<password>" \
--serverurl "<url>"
And the authentication goes through according to the log, but then on restart, the client wants to authenticate again. In the log, it shows that it tries to fetch credentials from the Keychain and when it doesn’t find any it falls back to the LoginFlowV2 and asks the user to authenticate via the GUI.
So, the authentication via CLI does not store credentials in the Keychain which renders that mode of authentication useless if Nextcloud is relying on those credentials being stored there. If I authenticate the GUI way, entries in the Keychain are created successfully and user for subsequent starts of the Nextcloud client.
Client OS: macOS Tahoe 26.3.1
Nextcloud Desktop Client: 4.0.6
Below is the log from the startup of Nextcloud after having been authenticated via CLI:
2026-03-17 09:25:12:949 [ info nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:747 ]: ################## "Nextcloud" locale: "en_SE" ui_lang: QVariant(Invalid) version: "4.0.6" os: "macOS Tahoe (26.3.1)"
2026-03-17 09:25:12:949 [ info nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:752 ]: Arguments: QList("/Applications/Nextcloud.app/Contents/MacOS/Nextcloud")
2026-03-17 09:25:12:949 [ info nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:1028 ]: System UI languages are: QList("en-Latn-SE", "en-SE", "en-Latn-US", "en-US", "en-Latn", "en", "sv-Latn-SE", "sv-SE", "sv-Latn", "sv")
2026-03-17 09:25:12:949 [ info nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:1031 ]: selected application language: "en_Latn_SE"
2026-03-17 09:25:12:949 [ info nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:1051 ]: Using "en_Latn_SE" translation
2026-03-17 09:25:12:950 [ info nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:126 ]: This is not an upgrade/downgrade/migration. Proceed to read current application config file.
2026-03-17 09:25:12:950 [ warning nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:329 ]: Config version migration was not possible.
2026-03-17 09:25:12:951 [ info nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:377 ]: VFS suffix plugin is available
2026-03-17 09:25:12:965 [ info nextcloud.gui.socketapi /Volumes/builds/36668/macos-36668/src/gui/socketapi/socketapi.cpp:265 ]: Loaded shell extension: "pluginkit" "-a /Applications/Nextcloud.app/Contents/PlugIns/FinderSyncExt.appex/" ""
2026-03-17 09:25:12:977 [ info nextcloud.gui.socketapi /Volumes/builds/36668/macos-36668/src/gui/socketapi/socketapi.cpp:265 ]: Loaded shell extension: "pluginkit" "-e use -i com.nextcloud.desktopclient.FinderSyncExt" ""
2026-03-17 09:25:12:977 [ info nextcloud.gui.socketapi /Volumes/builds/36668/macos-36668/src/gui/socketapi/socketapi.cpp:300 ]: server started, listening at "/Users/<USERNAME>/Library/Group Containers/com.nextcloud.desktopclient/.socket"
2026-03-17 09:25:12:977 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:68 ]: setting remote poll timer interval to 30000 msec
2026-03-17 09:25:12:977 [ info nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:164 ]: Checking for accounts versions.
2026-03-17 09:25:12:977 [ info nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:165 ]: Config accounts version: 13
2026-03-17 09:25:12:977 [ info nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:166 ]: Max accounts Version is set to: 13
2026-03-17 09:25:13:111 [ info nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:632 ]: Account for QUrl("https://<SERVERURL>") using auth type "webflow"
2026-03-17 09:25:13:111 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:122 ]: Get QNAM
2026-03-17 09:25:13:112 [ info nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:692 ]: Restored: 0 unknown certs.
2026-03-17 09:25:13:113 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:187 ]: Setup folders from settings file
2026-03-17 09:25:13:113 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:390 ]: FolderDefinition::maxSettingsVersion: 13
2026-03-17 09:25:13:113 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:390 ]: FolderDefinition::maxSettingsVersion: 13
2026-03-17 09:25:13:113 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:390 ]: FolderDefinition::maxSettingsVersion: 13
2026-03-17 09:25:13:113 [ info nextcloud.sync.configfile /Volumes/builds/36668/macos-36668/src/libsync/configfile.cpp:1282 ]: Adding user defined ignore list to csync: "/Users/<USERNAME>/Library/Preferences/Nextcloud/sync-exclude.lst"
2026-03-17 09:25:13:114 [ info nextcloud.sync.database /Volumes/builds/36668/macos-36668/src/common/syncjournaldb.cpp:335 ]: sqlite3 version "3.50.4"
2026-03-17 09:25:13:114 [ info nextcloud.sync.database /Volumes/builds/36668/macos-36668/src/common/syncjournaldb.cpp:347 ]: sqlite3 locking_mode= "exclusive"
2026-03-17 09:25:13:114 [ info nextcloud.sync.database /Volumes/builds/36668/macos-36668/src/common/syncjournaldb.cpp:355 ]: sqlite3 journal_mode= "wal"
2026-03-17 09:25:13:114 [ info nextcloud.sync.database /Volumes/builds/36668/macos-36668/src/common/syncjournaldb.cpp:377 ]: sqlite3 synchronous= "NORMAL"
2026-03-17 09:25:13:114 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:1310 ]: Adding folder to Folder Map OCC::Folder(0x828d90800) "0"
2026-03-17 09:25:13:114 [ info nextcloud.gui.folderwatcher /Volumes/builds/36668/macos-36668/src/gui/folderwatcher.cpp:141 ]: Permissions in file system for "/Users/<USERNAME>/Nextcloud/.nextcloudpermissions.log" works as expected
2026-03-17 09:25:13:114 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:741 ]: Schedule folder "0" to sync!
2026-03-17 09:25:13:114 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:754 ]: Folder is not ready to sync, not scheduled!
2026-03-17 09:25:13:114 [ warning nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:539 ]: Account(s) setup result: OCC::AccountManager::AccountsRestoreSuccess
2026-03-17 09:25:13:114 [ warning nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:540 ]: 1 folder(s) migrated
2026-03-17 09:25:13:114 [ warning nextcloud.gui.application /Volumes/builds/36668/macos-36668/src/gui/application.cpp:541 ]: 1 account(s) migrated: "- <USERFULLNAME>"
2026-03-17 09:25:13:118 [ debug nextcloud.gui.macsystrayusernotifications /Volumes/builds/36668/macos-36668/src/gui/systray_mac_usernotifications.mm:178 ] [ OCC::checkNotificationAuth ]: Authorization for notifications has been granted, can display notifications.
2026-03-17 09:25:13:146 [ info nextcloud.sync.clientproxy /Volumes/builds/36668/macos-36668/src/libsync/clientproxy.cpp:96 ]: Set proxy configuration to use the preferred system proxy for http tcp connections
2026-03-17 09:25:13:146 [ warning qt.core.qobject.connect unknown:0 ]: QObject::connect(QNetworkInformation, OCC::Application): invalid nullptr parameter
2026-03-17 09:25:13:146 [ warning nextcloud.sync.configfile /Volumes/builds/36668/macos-36668/src/libsync/configfile.cpp:711 ]: Default update channel is "stable"
2026-03-17 09:25:13:236 [ info nextcloud.gui.account.state /Volumes/builds/36668/macos-36668/src/gui/accountstate.cpp:284 ]: check connectivity
2026-03-17 09:25:13:236 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:145 ]: Fetch from keychain!
2026-03-17 09:25:13:256 [ warning nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:682 ]: Failed to read proxy password to keychain "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:258 [ warning nextcloud.sync.credentials.keychainchunk /Volumes/builds/36668/macos-36668/src/libsync/creds/keychainchunk.cpp:349 ]: Unable to read "<USERID>_clientCertificatePEM:https://<SERVERURL>/:0" chunk "0" "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:260 [ warning nextcloud.sync.credentials.keychainchunk /Volumes/builds/36668/macos-36668/src/libsync/creds/keychainchunk.cpp:349 ]: Unable to read "<USERID>_clientKeyPEM:https://<SERVERURL>/:0" chunk "0" "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:260 [ warning nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:471 ]: Unable to read client key "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:260 [ warning nextcloud.sync.credentials.keychainchunk /Volumes/builds/36668/macos-36668/src/libsync/creds/keychainchunk.cpp:349 ]: Unable to read "<USERID>_clientCaCertificatePEM0:https://<SERVERURL>/:0" chunk "0" "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:260 [ warning nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:513 ]: Unable to read client CA cert slot "0" "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:261 [ warning nextcloud.sync.credentials.keychainchunk /Volumes/builds/36668/macos-36668/src/libsync/creds/keychainchunk.cpp:349 ]: Unable to read "<USERID>_clientCertificatePEM:https://<SERVERURL>/" chunk "0" "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:261 [ warning nextcloud.sync.credentials.keychainchunk /Volumes/builds/36668/macos-36668/src/libsync/creds/keychainchunk.cpp:349 ]: Unable to read "<USERID>_clientKeyPEM:https://<SERVERURL>/" chunk "0" "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:261 [ warning nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:471 ]: Unable to read client key "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:262 [ warning nextcloud.sync.credentials.keychainchunk /Volumes/builds/36668/macos-36668/src/libsync/creds/keychainchunk.cpp:349 ]: Unable to read "<USERID>_clientCaCertificatePEM0:https://<SERVERURL>/" chunk "0" "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:262 [ warning nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:513 ]: Unable to read client CA cert slot "0" "Could not retrieve private key from keystore: The specified item could not be found in the keychain"
2026-03-17 09:25:13:262 [ info nextcloud.gui.account.state /Volumes/builds/36668/macos-36668/src/gui/accountstate.cpp:497 ]: Fetched credentials for "https://<SERVERURL>" attempting to connect
2026-03-17 09:25:13:262 [ info nextcloud.gui.account.state /Volumes/builds/36668/macos-36668/src/gui/accountstate.cpp:284 ]: check connectivity
2026-03-17 09:25:13:262 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:122 ]: Get QNAM
2026-03-17 09:25:13:263 [ info nextcloud.sync.connectionvalidator /Volumes/builds/36668/macos-36668/src/gui/connectionvalidator.cpp:76 ]: No system proxy set by OS
2026-03-17 09:25:13:263 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 2 "" "https://<SERVERURL>/index.php/204" has X-Request-ID "4822867b-cb89-44ba-8a09-1c0e68afc663"
2026-03-17 09:25:13:263 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:382 ]: OCC::CheckRedirectCostFreeUrlJob created for "https://<SERVERURL>" + "status.php" "OCC::ConnectionValidator"
2026-03-17 09:25:13:953 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://<SERVERURL>/index.php/204") with request id "4822867b-cb89-44ba-8a09-1c0e68afc663"
2026-03-17 09:25:13:953 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 2 "" "https://<SERVERURL>/status.php" has X-Request-ID "dc12f3dd-58fc-442a-bdf8-f354b06328cc"
2026-03-17 09:25:13:953 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:382 ]: OCC::CheckServerJob created for "https://<SERVERURL>" + "status.php" "OCC::ConnectionValidator"
2026-03-17 09:25:13:974 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://<SERVERURL>/status.php") with request id "dc12f3dd-58fc-442a-bdf8-f354b06328cc"
2026-03-17 09:25:13:974 [ warning nextcloud.sync.networkjob.checkserver /Volumes/builds/36668/macos-36668/src/libsync/networkjobs.cpp:679 ]: No SSL session identifier / session ticket is used, this might impact sync performance negatively.
2026-03-17 09:25:13:974 [ info nextcloud.sync.networkjob.checkserver /Volumes/builds/36668/macos-36668/src/libsync/networkjobs.cpp:707 ]: status.php returns: QJsonDocument({"edition":"","extendedSupport":false,"installed":true,"maintenance":false,"needsDbUpgrade":false,"productname":"Nextcloud","version":"32.0.5.0","versionstring":"32.0.5"}) QNetworkReply::NoError Reply: QNetworkReplyHttpImpl(0x8286e6090)
2026-03-17 09:25:13:974 [ info nextcloud.sync.connectionvalidator /Volumes/builds/36668/macos-36668/src/gui/connectionvalidator.cpp:123 ]: ** Application: Nextcloud found: QUrl("https://<SERVERURL>") with version "32.0.5" ( "32.0.5.0" )
2026-03-17 09:25:13:974 [ info nextcloud.sync.connectionvalidator /Volumes/builds/36668/macos-36668/src/gui/connectionvalidator.cpp:291 ]: QUrl("https://<SERVERURL>") has server version "32.0.5.0"
2026-03-17 09:25:13:974 [ info nextcloud.gui.account.state /Volumes/builds/36668/macos-36668/src/gui/accountstate.cpp:390 ]: AccountState connection status change: OCC::ConnectionValidator::Undefined -> OCC::ConnectionValidator::CredentialsNotReady
2026-03-17 09:25:13:976 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:874 ]: Account "<USERID>@<SERVERURL>" disconnected or paused, terminating or descheduling sync folders
2026-03-17 09:25:13:976 [ info nextcloud.gui.account.state /Volumes/builds/36668/macos-36668/src/gui/accountstate.cpp:479 ]: Invalid credentials for "https://<SERVERURL>" asking user
2026-03-17 09:25:13:976 [ info nextcloud.gui.account.state /Volumes/builds/36668/macos-36668/src/gui/accountstate.cpp:118 ]: AccountState state change: "Disconnected" -> "Asking Credentials"
2026-03-17 09:25:13:976 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:874 ]: Account "<USERID>@<SERVERURL>" disconnected or paused, terminating or descheduling sync folders
2026-03-17 09:25:13:976 [ info nextcloud.sync.networkjob.determineauthtype /Volumes/builds/36668/macos-36668/src/libsync/networkjobs.cpp:1180 ]: Determining auth type for QUrl("https://<SERVERURL>/remote.php/dav/files/<USERID>/")
2026-03-17 09:25:13:976 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 2 "" "https://<SERVERURL>" has X-Request-ID "978c4f9e-0713-4ac9-8ea7-a16de5fd451e"
2026-03-17 09:25:13:977 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:382 ]: OCC::SimpleNetworkJob created for "https://<SERVERURL>" + "" ""
2026-03-17 09:25:13:977 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 6 "PROPFIND" "https://<SERVERURL>/remote.php/dav/files/<USERID>/" has X-Request-ID "276b0f0e-cfec-4d9f-a99f-30856d04cf1e"
2026-03-17 09:25:13:977 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:382 ]: OCC::SimpleNetworkJob created for "https://<SERVERURL>" + "" ""
2026-03-17 09:25:13:977 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 2 "" "https://<SERVERURL>/ocs/v2.php/cloud/capabilities?format=json" has X-Request-ID "27a55fb3-d1ef-4cc5-9c1c-56ba3d672c1b"
2026-03-17 09:25:13:977 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:382 ]: OCC::JsonApiJob created for "https://<SERVERURL>" + "/ocs/v2.php/cloud/capabilities" "OCC::DetermineAuthTypeJob"
2026-03-17 09:25:14:019 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://<SERVERURL>") with request id "978c4f9e-0713-4ac9-8ea7-a16de5fd451e"
2026-03-17 09:25:14:019 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:267 ]: Redirecting "GET" QUrl("https://<SERVERURL>") QUrl("https://<SERVERURL>/index.php/login")
2026-03-17 09:25:14:019 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 2 "" "https://<SERVERURL>/index.php/login" has X-Request-ID "f3a0af2d-e29a-4698-ad46-5705e3fdbbb4"
2026-03-17 09:25:14:076 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://<SERVERURL>/index.php/login") with request id "f3a0af2d-e29a-4698-ad46-5705e3fdbbb4"
2026-03-17 09:25:14:076 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:267 ]: Redirecting "GET" QUrl("https://<SERVERURL>/index.php/login") QUrl("https://<SERVERURL>/index.php/apps/user_saml/saml/login?originalUrl=&idp=1&requesttoken=reQNOOmOGnbYq6Zv7HicXE4Rxms6M3osfiuudW/Rwag%3D:xIw%2Bf5zWVzCN/JAEiDHoLyAh9wkIZzFfTUqFPiyShcY%3D")
2026-03-17 09:25:14:076 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 2 "" "https://<SERVERURL>/index.php/apps/user_saml/saml/login?originalUrl=&idp=1&requesttoken=reQNOOmOGnbYq6Zv7HicXE4Rxms6M3osfiuudW/Rwag%3D:xIw%2Bf5zWVzCN/JAEiDHoLyAh9wkIZzFfTUqFPiyShcY%3D" has X-Request-ID "7ea41b3d-b99d-4e93-86a8-90ef2b026e8e"
2026-03-17 09:25:14:109 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://<SERVERURL>/ocs/v2.php/cloud/capabilities?format=json") with request id "27a55fb3-d1ef-4cc5-9c1c-56ba3d672c1b"
2026-03-17 09:25:14:109 [ info nextcloud.sync.networkjob.jsonapi /Volumes/builds/36668/macos-36668/src/libsync/networkjobs.cpp:1120 ]: JsonApiJob of QUrl("https://<SERVERURL>/ocs/v2.php/cloud/capabilities?format=json") FINISHED WITH STATUS "OK"
2026-03-17 09:25:14:133 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://<SERVERURL>/index.php/apps/user_saml/saml/login?originalUrl=&idp=1&requesttoken=reQNOOmOGnbYq6Zv7HicXE4Rxms6M3osfiuudW/Rwag%3D:xIw%2Bf5zWVzCN/JAEiDHoLyAh9wkIZzFfTUqFPiyShcY%3D") with request id "7ea41b3d-b99d-4e93-86a8-90ef2b026e8e"
2026-03-17 09:25:14:134 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:267 ]: Redirecting "GET" QUrl("https://<SERVERURL>/index.php/apps/user_saml/saml/login?originalUrl=&idp=1&requesttoken=reQNOOmOGnbYq6Zv7HicXE4Rxms6M3osfiuudW/Rwag%3D:xIw%2Bf5zWVzCN/JAEiDHoLyAh9wkIZzFfTUqFPiyShcY%3D") QUrl("https://login.microsoftonline.com/d5a7cda5-b091-45a4-8b07-0ee651ed2514/saml2?SAMLRequest=nZJPj9MwEMXv%2FRSr3BPbIdmkVlupbPlTqbTVtnDgsnLtydYisY3HhvLtSRNgAYk9MDfPzPvpzZNnKLrW8WUMZ3MPnyNgmNz0delag3wYzpPoDbcCNXIjOkAeJD8s3214nlHuvA1W2jb5S%2Fa8SiCCD9qaUbZezZPd9tVm92a9fajZtJB5VVeVpKcmV0pOC6BMUFA1K2VJi3IqC9WM0g%2FgsefMkx6bTEYaYoS1wSBM6Ps0v03pi5RVR1rzvOSs%2BDhKV%2F2x2ogwyM8hOOSEtPZRm6zT0lu0TbCm1QYyaTuiSlFJJcr0RKcsLUpRpPWJVikFuC0ZqLxkBbmeno%2F4%2FY9kXmqjtHl8PpDTuIT87fG4T%2Fe7w3GELH8GdWcNxg78AfwXLeH9%2FebJs4FLkK2NKvskYoZAehhcMnd2RDiHJPaMh6uzwR4REpPFQJ9d33zIyy%2F%2Bk9ZBEEoEMSO%2Fw57wjm%2F7a9ervW21%2FDb0r%2FXa%2Bk6Ef4fCMjZ0tEqbYZVHgw6kbjSo5Bdm2bb2650HEWCeBB8huSGLyejlz2%2B9%2BA4%3D&RelayState=https%3A%2F%2F<SERVERURL>%2Findex.php%2Fapps%2Fuser_saml%2Fsaml%2Flogin")
2026-03-17 09:25:14:134 [ warning nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:280 ]: redirect target mismatches origin, removing credentials origin="<SERVERURL>":-1 target="login.microsoftonline.com":-1
2026-03-17 09:25:14:134 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 2 "" "https://login.microsoftonline.com/d5a7cda5-b091-45a4-8b07-0ee651ed2514/saml2?SAMLRequest=nZJPj9MwEMXv%2FRSr3BPbIdmkVlupbPlTqbTVtnDgsnLtydYisY3HhvLtSRNgAYk9MDfPzPvpzZNnKLrW8WUMZ3MPnyNgmNz0delag3wYzpPoDbcCNXIjOkAeJD8s3214nlHuvA1W2jb5S%2Fa8SiCCD9qaUbZezZPd9tVm92a9fajZtJB5VVeVpKcmV0pOC6BMUFA1K2VJi3IqC9WM0g%2FgsefMkx6bTEYaYoS1wSBM6Ps0v03pi5RVR1rzvOSs%2BDhKV%2F2x2ogwyM8hOOSEtPZRm6zT0lu0TbCm1QYyaTuiSlFJJcr0RKcsLUpRpPWJVikFuC0ZqLxkBbmeno%2F4%2FY9kXmqjtHl8PpDTuIT87fG4T%2Fe7w3GELH8GdWcNxg78AfwXLeH9%2FebJs4FLkK2NKvskYoZAehhcMnd2RDiHJPaMh6uzwR4REpPFQJ9d33zIyy%2F%2Bk9ZBEEoEMSO%2Fw57wjm%2F7a9ervW21%2FDb0r%2FXa%2Bk6Ef4fCMjZ0tEqbYZVHgw6kbjSo5Bdm2bb2650HEWCeBB8huSGLyejlz2%2B9%2BA4%3D&RelayState=https%3A%2F%2F<SERVERURL>%2Findex.php%2Fapps%2Fuser_saml%2Fsaml%2Flogin" has X-Request-ID "e8c045b2-5a1d-4efd-8b03-1f7072bc8b66"
2026-03-17 09:25:14:196 [ warning nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:40 ]: Server requested authentication and we didn't provide a user
2026-03-17 09:25:14:200 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://<SERVERURL>/remote.php/dav/files/<USERID>/") with request id "276b0f0e-cfec-4d9f-a99f-30856d04cf1e"
2026-03-17 09:25:14:200 [ warning nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:213 ]: QNetworkReply::AuthenticationRequiredError
2026-03-17 09:25:14:200 [ warning nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:214 ]: "Host requires authentication"
2026-03-17 09:25:14:200 [ warning nextcloud.sync.networkjob.determineauthtype /Volumes/builds/36668/macos-36668/src/libsync/networkjobs.cpp:1227 ]: Unknown WWW-Authenticate reply to auth-test PROPFIND: "basic realm=\"nextcloud\", charset=\"utf-8\""
2026-03-17 09:25:14:520 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://login.microsoftonline.com/d5a7cda5-b091-45a4-8b07-0ee651ed2514/saml2?SAMLRequest=nZJPj9MwEMXv%2FRSr3BPbIdmkVlupbPlTqbTVtnDgsnLtydYisY3HhvLtSRNgAYk9MDfPzPvpzZNnKLrW8WUMZ3MPnyNgmNz0delag3wYzpPoDbcCNXIjOkAeJD8s3214nlHuvA1W2jb5S%2Fa8SiCCD9qaUbZezZPd9tVm92a9fajZtJB5VVeVpKcmV0pOC6BMUFA1K2VJi3IqC9WM0g%2FgsefMkx6bTEYaYoS1wSBM6Ps0v03pi5RVR1rzvOSs%2BDhKV%2F2x2ogwyM8hOOSEtPZRm6zT0lu0TbCm1QYyaTuiSlFJJcr0RKcsLUpRpPWJVikFuC0ZqLxkBbmeno%2F4%2FY9kXmqjtHl8PpDTuIT87fG4T%2Fe7w3GELH8GdWcNxg78AfwXLeH9%2FebJs4FLkK2NKvskYoZAehhcMnd2RDiHJPaMh6uzwR4REpPFQJ9d33zIyy%2F%2Bk9ZBEEoEMSO%2Fw57wjm%2F7a9ervW21%2FDb0r%2FXa%2Bk6Ef4fCMjZ0tEqbYZVHgw6kbjSo5Bdm2bb2650HEWCeBB8huSGLyejlz2%2B9%2BA4%3D&RelayState=https%3A%2F%2F<SERVERURL>%2Findex.php%2Fapps%2Fuser_saml%2Fsaml%2Flogin") with request id "e8c045b2-5a1d-4efd-8b03-1f7072bc8b66"
2026-03-17 09:25:14:520 [ info nextcloud.sync.networkjob.determineauthtype /Volumes/builds/36668/macos-36668/src/libsync/networkjobs.cpp:1312 ]: Auth type for QUrl("https://<SERVERURL>/remote.php/dav/files/<USERID>/") is OCC::DetermineAuthTypeJob::LoginFlowV2
2026-03-17 09:25:14:520 [ warning default unknown:0 ]: QLayout: Attempting to add QLayout "" to OCC::WebFlowCredentialsDialog "", which already has a layout
2026-03-17 09:25:14:523 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 4 "" "https://<SERVERURL>/index.php/login/v2" has X-Request-ID "eb9c24fe-45ef-4459-a5d3-2eae946a12c3"
2026-03-17 09:25:14:523 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:382 ]: OCC::SimpleNetworkJob created for "https://<SERVERURL>" + "" ""
2026-03-17 09:25:14:871 [ info nextcloud.sync.credentials.webflow /Volumes/builds/36668/macos-36668/src/gui/creds/webflowcredentials.cpp:411 ]: request finished QUrl("https://<SERVERURL>/index.php/login/v2") with request id "eb9c24fe-45ef-4459-a5d3-2eae946a12c3"
2026-03-17 09:25:14:871 [ info nextcloud.sync.credentials.flow2auth /Volumes/builds/36668/macos-36668/src/gui/creds/flow2auth.cpp:122 ]: setting remote poll timer interval to 30000 msec
2026-03-17 09:25:16:257 [ info nextcloud.gui.updater /Volumes/builds/36668/macos-36668/src/gui/updater/sparkleupdater_mac.mm:292 ]: launching background check
2026-03-17 09:25:16:260 [ info nextcloud.gui.updater /Volumes/builds/36668/macos-36668/src/gui/updater/sparkleupdater_mac.mm:69 ]: Updater may check for updates: YES
2026-03-17 09:25:16:543 [ info nextcloud.gui.updater /Volumes/builds/36668/macos-36668/src/gui/updater/sparkleupdater_mac.mm:82 ]: "Finished loading appcast."
2026-03-17 09:25:16:544 [ info nextcloud.gui.updater /Volumes/builds/36668/macos-36668/src/gui/updater/sparkleupdater_mac.mm:82 ]: "Found a valid update: version 4.0.7"
2026-03-17 09:25:16:544 [ info nextcloud.gui.updater /Volumes/builds/36668/macos-36668/src/gui/updater/sparkleupdater_mac.mm:82 ]: "Downloading version 4.0.7 update."
2026-03-17 09:25:26:547 [ info nextcloud.sync.accessmanager /Volumes/builds/36668/macos-36668/src/libsync/accessmanager.cpp:72 ]: 4 "" "https://<SERVERURL>/index.php/login/v2/poll" has X-Request-ID "52f3bf55-a625-4cf5-9e69-3a77f0d8fb0c"
2026-03-17 09:25:26:549 [ info nextcloud.sync.networkjob /Volumes/builds/36668/macos-36668/src/libsync/abstractnetworkjob.cpp:382 ]: OCC::SimpleNetworkJob created for "https://<SERVERURL>" + "" ""
2026-03-17 09:25:27:058 [ info nextcloud.gui.account.state /Volumes/builds/36668/macos-36668/src/gui/accountstate.cpp:509 ]: Credentials asked for "https://<SERVERURL>" are they ready? false
2026-03-17 09:25:27:058 [ info nextcloud.gui.account.state /Volumes/builds/36668/macos-36668/src/gui/accountstate.cpp:118 ]: AccountState state change: "Asking Credentials" -> "Signed out"
2026-03-17 09:25:27:059 [ info nextcloud.gui.folder.manager /Volumes/builds/36668/macos-36668/src/gui/folderman.cpp:874 ]: Account "<USERID>@<SERVERURL>" disconnected or paused, terminating or descheduling sync folders
2026-03-17 09:25:27:063 [ info nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:499 ]: Saving 0 unknown certs.
2026-03-17 09:25:27:063 [ info nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:514 ]: Saving cookies. "/Users/<USERNAME>/Library/Preferences/Nextcloud/cookies0.db"
2026-03-17 09:25:27:065 [ info nextcloud.gui.account.manager /Volumes/builds/36668/macos-36668/src/gui/accountmanager.cpp:384 ]: Saved all account settings, status: QSettings::NoError
2026-03-17 09:25:27:065 [ info nextcloud.sync.database /Volumes/builds/36668/macos-36668/src/common/syncjournaldb.cpp:696 ]: Closing DB "/Users/<USERNAME>/Nextcloud/.sync_8c95032a5da9.db"
2026-03-17 09:25:27:075 [ info nextcloud.gui.remotewipe /Volumes/builds/36668/macos-36668/src/gui/remotewipe.cpp:153 ]: Notifying server about successful remote wipe for "<USERID>@<SERVERURL>"
2026-03-17 09:25:27:075 [ info nextcloud.gui.socketapi /Volumes/builds/36668/macos-36668/src/gui/socketapi/socketapi.cpp:344 ]: Lost connection QLocalSocket(0x82951e790)