Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 2c8b44c

Browse files
committed
prompt==login forces reauthentication.
1 parent f061a88 commit 2c8b44c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/oidcop/oauth2/authorization.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,4 +968,7 @@ def re_authenticate(request, authn) -> bool:
968968
:param authn:
969969
:return:
970970
"""
971+
if "prompt" in request and request["prompt"] == "login":
972+
return True
973+
971974
return False

0 commit comments

Comments
 (0)