From 6c9bdc8c49b798f11cef103b8202ff697a4ec91c Mon Sep 17 00:00:00 2001 From: Sergey Shlyapugin Date: Sun, 28 Apr 2024 23:25:01 +0300 Subject: [PATCH] change the scope to `openid Tasks.ReadWrite email profile` --- pymstodo/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymstodo/client.py b/pymstodo/client.py index a4ef4a6..6e93baf 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 offline_access' + _scope: str = 'openid Tasks.ReadWrite email profile' _authority: str = 'https://login.microsoftonline.com/common' _authorize_endpoint: str = '/oauth2/v2.0/authorize' _token_endpoint: str = '/oauth2/v2.0/token'