File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 55
55
print ("A local browser window will be open for you to sign in. CTRL+C to cancel." )
56
56
result = app .acquire_token_interactive (
57
57
config ["scope" ],
58
- login_hint = config .get ("username" ), # You can use this parameter to pre-fill
58
+ login_hint = config .get ("username" ), # Optional.
59
+ # If you know the username ahead of time, this parameter can pre-fill
59
60
# the username (or email address) field of the sign-in page for the user,
60
- # if you know the username ahead of time.
61
61
# Often, apps use this parameter during reauthentication,
62
62
# after already extracting the username from an earlier sign-in
63
63
# by using the preferred_username claim from returned id_token_claims.
64
+
65
+ #prompt="select_account", # Optional. It forces to show account selector page
64
66
)
65
67
66
68
if "access_token" in result :
You can’t perform that action at this time.
0 commit comments