jose icon indicating copy to clipboard operation
jose copied to clipboard

Allow to configure grace period

Open king-of-poppk opened this issue 11 months ago • 0 comments

The grace period for token validation is currently hard-coded to 60 seconds, see here:

https://github.com/r-lib/jose/blob/429a463add39ed3329b2b7d6ac71e6a6e68d66f6/R/jwt.R#L171-L188

Would it be possible to make this configurable? It would help to test the token expiration functionality.

king-of-poppk avatar Jul 20 '23 13:07 king-of-poppk