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

Commit 984eb5a

Browse files
committed
Prompt is a list.
1 parent a61e27e commit 984eb5a

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
@@ -970,7 +970,7 @@ def re_authenticate(request, authn) -> bool:
970970
"""
971971
logger.debug("Re-authenticate ??: {}".format(request))
972972

973-
_prompt = request.get("prompt")
973+
_prompt = request.get("prompt", [])
974974
logger.debug(f"Prompt={_prompt}")
975975
if "login" in _prompt:
976976
logger.debug("Reauthenticate due to prompt=login")

0 commit comments

Comments
 (0)