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

Commit a61e27e

Browse files
committed
Prompt is a list.
1 parent 22e3b7d commit a61e27e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/oidcop/oauth2/authorization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ def re_authenticate(request, authn) -> bool:
972972

973973
_prompt = request.get("prompt")
974974
logger.debug(f"Prompt={_prompt}")
975-
if _prompt == "login":
975+
if "login" in _prompt:
976976
logger.debug("Reauthenticate due to prompt=login")
977977
return True
978978

0 commit comments

Comments
 (0)