Skip to content

Commit 76ae516

Browse files
authored
Merge pull request #25 from timhallmann/fix_nonce_validation
2 parents c19aa3d + 7bb13f5 commit 76ae516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simple_openid_connect/data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def validate_extern(
272272
)
273273

274274
# 11. validate nonce
275-
if self.nonce is not None:
275+
if nonce is not None or self.nonce is not None:
276276
validate_that(
277277
self.nonce == nonce,
278278
"The ID-Token's nonce does not match its expected value",

0 commit comments

Comments
 (0)