Change callback for succes / failure to the new location

CURA-5744
This commit is contained in:
Jaime van Kessel 2018-09-27 11:56:19 +02:00
parent 649f1c8961
commit 202cf698c3
2 changed files with 4 additions and 4 deletions

View file

@ -39,8 +39,8 @@ class Account(QObject):
CLIENT_ID="um---------------ultimaker_cura_drive_plugin",
CLIENT_SCOPES="user.read drive.backups.read drive.backups.write",
AUTH_DATA_PREFERENCE_KEY="general/ultimaker_auth_data",
AUTH_SUCCESS_REDIRECT="{}/auth-success".format(self._cloud_api_root),
AUTH_FAILED_REDIRECT="{}/auth-error".format(self._cloud_api_root)
AUTH_SUCCESS_REDIRECT="{}/app/auth-success".format(self._oauth_root),
AUTH_FAILED_REDIRECT="{}/app/auth-error".format(self._oauth_root)
)
self._authorization_service = AuthorizationService(Application.getInstance().getPreferences(), self._oauth_settings)