Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit cf6650d

Browse files
authored
Merge pull request #221 from gregdegruy/patch-2
Update example account JSON file and remove extra in clientSecret field
2 parents e3a0d19 + d566c9a commit cf6650d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sample/client_credentials_sample.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ def turn_on_logging():
2222
# See https://github.com/AzureAD/azure-activedirectory-library-for-python/wiki/Register-your-application-with-Azure-Active-Directory
2323
#
2424
# {
25-
# "resource": "your_resource",
26-
# "tenant" : "rrandallaad1.onmicrosoft.com",
25+
# "resource": "YOUR_RESOURCE",
26+
# "tenant" : "YOUR_SUB_DOMAIN.onmicrosoft.com",
2727
# "authorityHostUrl" : "https://login.microsoftonline.com",
28-
# "clientId" : "624ac9bd-4c1c-4687-aec8-b56a8991cfb3",
29-
# "clientSecret" : "verySecret=""
28+
# "clientId" : "YOUR_CLIENTID",
29+
# "clientSecret" : "YOUR_CLIENTSECRET"
3030
# }
3131

32+
3233
parameters_file = (sys.argv[1] if len(sys.argv) == 2 else
3334
os.environ.get('ADAL_SAMPLE_PARAMETERS_FILE'))
3435

0 commit comments

Comments
 (0)