tsndr / cloudflare-worker-jwt

A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.
MIT License
649 stars 51 forks source link

Feature request - clockTolerance #69

Closed patryk-smc closed 6 months ago

patryk-smc commented 6 months ago

Hi thank you for creating this library. Is there any chance that you could add clockTolerance option from jsonwebtoken lib?

You can learn more here: https://www.npmjs.com/package/jsonwebtoken#:~:text=a%20value%20here-,clockTolerance,-%3A%20number%20of%20seconds

Thanks a lot

tsndr commented 6 months ago

Here you go v2.5.0 ;)

patryk-smc commented 6 months ago

Thank you ❤️