From 38b615c7348c2dcda63679c80e4dadd9a6ec970a Mon Sep 17 00:00:00 2001 From: ChrisTerBeke Date: Wed, 17 Oct 2018 17:43:04 +0200 Subject: [PATCH] Update OAuth2 scopes Part of STAR-273. --- cura/API/Account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/API/Account.py b/cura/API/Account.py index bc1ce8c2b9..397e220478 100644 --- a/cura/API/Account.py +++ b/cura/API/Account.py @@ -45,7 +45,7 @@ class Account(QObject): CALLBACK_PORT=self._callback_port, CALLBACK_URL="http://localhost:{}/callback".format(self._callback_port), CLIENT_ID="um---------------ultimaker_cura_drive_plugin", - CLIENT_SCOPES="user.read drive.backups.read drive.backups.write", + CLIENT_SCOPES="account.user.read drive.backup.read drive.backup.write packages.download packages.rating.read packages.rating.write", AUTH_DATA_PREFERENCE_KEY="general/ultimaker_auth_data", AUTH_SUCCESS_REDIRECT="{}/app/auth-success".format(self._oauth_root), AUTH_FAILED_REDIRECT="{}/app/auth-error".format(self._oauth_root)