Skip to content

Commit 97c2585

Browse files
committed
Merge branch 'audit' into dev
2 parents deaad95 + 2fb7a45 commit 97c2585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2cli/oidc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def decode_id_token(id_token, client_id=None, issuer=None, nonce=None, now=None)
6060
err = "3. The aud (audience) Claim must contain this client's client_id."
6161
# Per specs:
6262
# 6. If the ID Token is received via direct communication between
63-
# the Client and the Token Endpoint (which it is in this flow),
63+
# the Client and the Token Endpoint (which it is during _obtain_token()),
6464
# the TLS server validation MAY be used to validate the issuer
6565
# in place of checking the token signature.
6666
if _now > decoded["exp"]:

0 commit comments

Comments
 (0)