From a1b210f7d3cf5ef769107828dc0ffd0beb51d252 Mon Sep 17 00:00:00 2001 From: Sergey Shlyapugin Date: Sun, 28 Apr 2024 23:04:17 +0300 Subject: [PATCH] trying to fix #8 --- pymstodo/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymstodo/client.py b/pymstodo/client.py index b51baa3..a4ef4a6 100644 --- a/pymstodo/client.py +++ b/pymstodo/client.py @@ -243,7 +243,7 @@ class ToDoConnection: token: Token obtained by method `get_token` ''' _redirect: str = 'https://localhost/login/authorized' - _scope: str = 'openid Tasks.ReadWrite' + _scope: str = 'openid Tasks.ReadWrite offline_access' _authority: str = 'https://login.microsoftonline.com/common' _authorize_endpoint: str = '/oauth2/v2.0/authorize' _token_endpoint: str = '/oauth2/v2.0/token'