Skip to content

Commit 67e4a47

Browse files
committed
Prompt to select account by default
By adopting identity 0.3.1, this also fixes #121
1 parent a0a9702 commit 67e4a47

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def login():
3232
return render_template("login.html", version=__version__, **auth.log_in(
3333
scopes=app_config.SCOPE, # Have user consent to scopes during log-in
3434
redirect_uri=url_for("auth_response", _external=True), # Optional. If present, this absolute URL must match your app's redirect_uri registered in Azure Portal
35+
prompt="select_account", # Optional. More values defined in https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
3536
))
3637

3738

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ Flask>=2.2
44
Flask-Session>=0.3.2,<0.6
55
werkzeug>=2
66
requests>=2,<3
7-
identity>=0.2,<0.3
7+
identity>=0.3,<0.4
88
python-dotenv<0.22

0 commit comments

Comments
 (0)