Skip to content

Commit 8bdb1ef

Browse files
authored
Document redirect_uri requirement inside sample
1 parent a734633 commit 8bdb1ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/interactive_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
if not result:
5454
logging.info("No suitable token exists in cache. Let's get a new one from AAD.")
5555
print("A local browser window will be open for you to sign in. CTRL+C to cancel.")
56-
result = app.acquire_token_interactive(
56+
result = app.acquire_token_interactive( # Only works if your app is registered with redirect_uri as http://localhost
5757
config["scope"],
5858
login_hint=config.get("username"), # Optional.
5959
# If you know the username ahead of time, this parameter can pre-fill

0 commit comments

Comments
 (0)