Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.

Commit a4bbc5a

Browse files
authored
Fix "Getting Scope Has Changed" Error (#485)
1 parent 6136a92 commit a4bbc5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microsoft_auth/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class MicrosoftClient(OAuth2Session):
4545

4646
# required OAuth scopes
4747
SCOPE_XBL = ["XboxLive.signin", "XboxLive.offline_access"]
48-
SCOPE_MICROSOFT = ["openid", "email", "profile"]
48+
SCOPE_MICROSOFT = ["User.Read", "openid", "email", "profile"]
4949

5050
def __init__(self, state=None, request=None, *args, **kwargs):
5151
self.config = config

0 commit comments

Comments
 (0)