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 5555 print ("A local browser window will be open for you to sign in. CTRL+C to cancel." )
5656 result = app .acquire_token_interactive (
5757 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
5960 # the username (or email address) field of the sign-in page for the user,
60- # if you know the username ahead of time.
6161 # Often, apps use this parameter during reauthentication,
6262 # after already extracting the username from an earlier sign-in
6363 # by using the preferred_username claim from returned id_token_claims.
64+
65+ #prompt="select_account", # Optional. It forces to show account selector page
6466 )
6567
6668if "access_token" in result :
You can’t perform that action at this time.
0 commit comments