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 2e8c9b3 commit f107a15Copy full SHA for f107a15
sample/username_password_sample.py
@@ -67,9 +67,9 @@ def acquire_and_use_token():
67
68
if not result:
69
logging.info("No suitable token exists in cache. Let's get a new one from AAD.")
70
+ logging.info("This flow has been deprecated")
71
# See this page for constraints of Username Password Flow.
72
# https://github.com/AzureAD/microsoft-authentication-library-for-python/wiki/Username-Password-Authentication
- result = global_app.acquire_token
73
result = global_app.acquire_token_by_username_password(
74
os.getenv("USERNAME"), password, scopes=scopes)
75
0 commit comments