nextcloud-desktop/src/gui/creds
Olivier Goffart 15eab07866
OAuth2: Store 'Account::davUser' in the config, and use that user for connecting
We need to use the user id to check if we are connected to the right account.
These might be different from the HTTP Basic Auth login. (LDAP setups)

When the account was configured as an oauth2 account form the wisard, the
http_user was already set correctly to the user id. But when the server is
upgrading from basic auth to oauth2, we need to pick the right login.

Note that Account::davUser() already defaults to the HTTP user when none
is set, so this means the upgrade will be fine if this is not set in the
config.

Issues:
https://github.com/owncloud/oauth2/issues/109
https://github.com/owncloud/enterprise/issues/2781
2020-12-15 10:58:11 +01:00
..
shibboleth Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
credentialsfactory.cpp Start with persisting credentials 2018-05-02 22:50:48 +02:00
credentialsfactory.h Apply clang-format 2017-05-17 12:26:27 +02:00
flow2auth.cpp Update comments 2020-10-15 02:18:52 +02:00
flow2auth.h Update comments 2020-10-15 02:18:52 +02:00
httpcredentialsgui.cpp OAuth2: Store 'Account::davUser' in the config, and use that user for connecting 2020-12-15 10:58:11 +01:00
httpcredentialsgui.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
oauth.cpp Wizard + OAuth: Make opening a new browser after clicking back works again 2020-12-15 10:57:55 +01:00
oauth.h Test OAuth2 2017-09-28 18:38:33 +02:00
shibbolethcredentials.cpp Get rid of FindQt5Keychain.cmake 2020-11-02 13:19:48 +01:00
shibbolethcredentials.h Use default member init when applicable 2020-06-03 16:10:39 +02:00
webflowcredentials.cpp Enable all the misc clang-tidy check except one 2020-08-31 09:14:09 +02:00
webflowcredentials.h Move QKeychain::NoBackendAvailable error handling to KeychainChunk class 2020-07-06 21:51:36 +02:00
webflowcredentialsdialog.cpp Enable all the misc clang-tidy check except one 2020-08-31 09:14:09 +02:00
webflowcredentialsdialog.h Flow2: Refactor UI into Flow2AuthWidget only and improve Flow2Auth 2019-12-24 07:46:57 +01:00