Skip to content

Commit 493c073

Browse files
committed
'iss' can appear among the kwargs but without a value.
1 parent 548c892 commit 493c073

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/idpyoidc/message/oidc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ def verify(self, **kwargs):
10161016
except KeyError:
10171017
pass
10181018

1019-
if "iss" in kwargs and "iss" in self:
1019+
if "iss" in kwargs and kwargs["iss"] and "iss" in self:
10201020
if kwargs["iss"] != self["iss"]:
10211021
raise ValueError("Wrong issuer")
10221022

0 commit comments

Comments
 (0)