Skip to content

Commit 89a1420

Browse files
committed
Use delegated scope for user scopes
1 parent 9495a2c commit 89a1420

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sample/device_flow_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"authority": "https://login.microsoftonline.com/organizations",
66
"client_id": "your_client_id",
7-
"scope": ["https://graph.microsoft.com/.default"]
7+
"scope": ["user.read"]
88
}
99
1010
You can then run this sample with a JSON configuration file:

sample/username_password_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"authority": "https://login.microsoftonline.com/organizations",
66
"client_id": "your_client_id",
77
"username": "your_username@your_tenant.com",
8-
"scope": ["https://graph.microsoft.com/.default"],
8+
"scope": ["user.read"],
99
"password": "This is a sample only. You better NOT persist your password."
1010
}
1111

0 commit comments

Comments
 (0)