Skip to content

Commit f047c3a

Browse files
committed
Merge branch 'time-suggestion' into dev
2 parents bb236e4 + 3df6470 commit f047c3a

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
@@ -44,7 +44,7 @@ def decode_id_token(id_token, client_id=None, issuer=None, nonce=None, now=None)
4444
err = None # https://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation
4545
_now = int(now or time.time())
4646
skew = 120 # 2 minutes
47-
TIME_SUGGESTION = "Make sure your computer's time is correctly synchronized."
47+
TIME_SUGGESTION = "Make sure your computer's time and time zone are both correct."
4848
if _now + skew < decoded.get("nbf", _now - 1): # nbf is optional per JWT specs
4949
# This is not an ID token validation, but a JWT validation
5050
# https://tools.ietf.org/html/rfc7519#section-4.1.5

0 commit comments

Comments
 (0)