We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed244ee commit 9311cceCopy full SHA for 9311cce
sample/username_password_sample.py
@@ -57,4 +57,6 @@
57
print(result.get("error"))
58
print(result.get("error_description"))
59
print(result.get("correlation_id")) # You may need this when reporting a bug
60
-
+ if 65001 in result.get("error_codes", []): # Not mean to be coded programatically, but...
61
+ # AAD requires user consent for U/P flow
62
+ print("Visit this to consent:", app.get_authorization_request_url(scope))
0 commit comments