Skip to content

Commit

Permalink
Merge pull request #25 from timhallmann/fix_nonce_validation
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid authored Sep 30, 2024
2 parents c19aa3d + 7bb13f5 commit 76ae516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simple_openid_connect/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def validate_extern(
)

# 11. validate nonce
if self.nonce is not None:
if nonce is not None or self.nonce is not None:
validate_that(
self.nonce == nonce,
"The ID-Token's nonce does not match its expected value",
Expand Down

0 comments on commit 76ae516

Please sign in to comment.