cdbattags / lua-resty-jwt

JWT For The Great Openresty
Apache License 2.0
146 stars 44 forks source link

fix exp and nfb options validation #18

Closed eliauren closed 5 years ago

eliauren commented 5 years ago

Currently those options validation are always false because it's not checked in the payload part which contains exp and nfb claims

eliauren commented 5 years ago

No need to do this PR as the check on expiration is done automatically and you can also specify a lifetime_grace_period in the verify method.

cdbattags commented 5 years ago

Glad ya could figure this one out! Thanks for digging in though!

And sorry for a late response.