# Shouldn't JWT notBefore/expiration times be tested against the issuer time?

**URL:** <https://community.auth0.com/t/shouldnt-jwt-notbefore-expiration-times-be-tested-against-the-issuer-time/9308>\
**Category:** Get Help\
**Tags:** jwt, jwt-validation, expiration, time\
**Created:** [January 26, 2018, 2:53pm UTC](https://community.auth0.com/t/shouldnt-jwt-notbefore-expiration-times-be-tested-against-the-issuer-time/9308 "2018-01-26T14:53:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![volune](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/volune/32/3973_2.png) [@volune](https://community.auth0.com/u/volune)\
**Post date:** [January 26, 2018, 2:53pm UTC](https://community.auth0.com/t/shouldnt-jwt-notbefore-expiration-times-be-tested-against-the-issuer-time/9308/1 "2018-01-26T14:53:14Z")

</div>

I can’t find any documentation about that.

I assume clients and servers, or multiple servers, are not always synchronized between them (and I’ve seen that happen).  
So if an application tries to validate a JWT from another server, but using its own time, it may find that JWT to always be invalid, even if it’s currently valid. So I would think that the expiration time should be checked using the issuer’s time.

Am I overthinking this issue? Also are there any security risks at not using the issuer’s time?

---

<div class="post-metadata">

**Author:** ![achow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/achow/32/9880_2.png) [@achow](https://community.auth0.com/u/achow)\
**Post date:** [March 6, 2018, 4:02am UTC](https://community.auth0.com/t/shouldnt-jwt-notbefore-expiration-times-be-tested-against-the-issuer-time/9308/2 "2018-03-06T04:02:04Z")

</div>

Seems like time is based on UTC and not the time of the issuer. Check this out [What is the timezone / jwt expiration that is being passed into the token? · Issue #89 · mattupstate/flask-jwt · GitHub](https://github.com/mattupstate/flask-jwt/issues/89)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 16, 2018, 6:15pm UTC](https://community.auth0.com/t/shouldnt-jwt-notbefore-expiration-times-be-tested-against-the-issuer-time/9308/3 "2018-03-16T18:15:49Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
