Skip to content

Commit bb97af2

Browse files
authored
Merge pull request #661 from AzureAD/document-client-id
Give a hint on where the client_id came from
2 parents 1a19c4b + 5d9b221 commit bb97af2

7 files changed

+7
-7
lines changed

sample/confidential_client_certificate_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
{
55
"authority": "https://login.microsoftonline.com/Enter_the_Tenant_Name_Here",
6-
"client_id": "your_client_id",
6+
"client_id": "your_client_id came from https://learn.microsoft.com/entra/identity-platform/quickstart-register-app",
77
"scope": ["https://graph.microsoft.com/.default"],
88
// Specific to Client Credentials Grant i.e. acquire_token_for_client(),
99
// you don't specify, in the code, the individual scopes you want to access.

sample/confidential_client_secret_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
{
55
"authority": "https://login.microsoftonline.com/Enter_the_Tenant_Name_Here",
6-
"client_id": "your_client_id",
6+
"client_id": "your_client_id came from https://learn.microsoft.com/entra/identity-platform/quickstart-register-app",
77
"scope": ["https://graph.microsoft.com/.default"],
88
// Specific to Client Credentials Grant i.e. acquire_token_for_client(),
99
// you don't specify, in the code, the individual scopes you want to access.

sample/device_flow_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
{
55
"authority": "https://login.microsoftonline.com/common",
6-
"client_id": "your_client_id",
6+
"client_id": "your_client_id came from https://learn.microsoft.com/entra/identity-platform/quickstart-register-app",
77
"scope": ["User.ReadBasic.All"],
88
// You can find the other permission names from this document
99
// https://docs.microsoft.com/en-us/graph/permissions-reference

sample/interactive_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
{
88
"authority": "https://login.microsoftonline.com/organizations",
9-
"client_id": "your_client_id",
9+
"client_id": "your_client_id came from https://learn.microsoft.com/entra/identity-platform/quickstart-register-app",
1010
"scope": ["User.ReadBasic.All"],
1111
// You can find the other permission names from this document
1212
// https://docs.microsoft.com/en-us/graph/permissions-reference

sample/migrate_rt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
{
55
"authority": "https://login.microsoftonline.com/organizations",
6-
"client_id": "your_client_id",
6+
"client_id": "your_client_id came from https://learn.microsoft.com/entra/identity-platform/quickstart-register-app",
77
"scope": ["User.ReadBasic.All"],
88
// You can find the other permission names from this document
99
// https://docs.microsoft.com/en-us/graph/permissions-reference

sample/username_password_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
{
55
"authority": "https://login.microsoftonline.com/organizations",
6-
"client_id": "your_client_id",
6+
"client_id": "your_client_id came from https://learn.microsoft.com/entra/identity-platform/quickstart-register-app",
77
"username": "your_username@your_tenant.com",
88
"password": "This is a sample only. You better NOT persist your password.",
99
"scope": ["User.ReadBasic.All"],

sample/vault_jwt_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"tenant": "your_tenant_name",
55
// Your target tenant, DNS name
6-
"client_id": "your_client_id",
6+
"client_id": "your_client_id came from https://learn.microsoft.com/entra/identity-platform/quickstart-register-app",
77
// Target app ID in Azure AD
88
"scope": ["https://graph.microsoft.com/.default"],
99
// Specific to Client Credentials Grant i.e. acquire_token_for_client(),

0 commit comments

Comments
 (0)