Skip to content

Commit eccf03d

Browse files
authored
Merge pull request #99 from AzureAD/fix-issue-97
Update username_password_sample.py to fix issue 97
2 parents 4f957d6 + 6dd7598 commit eccf03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/username_password_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@
6161
print(result.get("correlation_id")) # You may need this when reporting a bug
6262
if 65001 in result.get("error_codes", []): # Not mean to be coded programatically, but...
6363
# AAD requires user consent for U/P flow
64-
print("Visit this to consent:", app.get_authorization_request_url(scope))
64+
print("Visit this to consent:", app.get_authorization_request_url(config["scope"]))

0 commit comments

Comments
 (0)