Hello all, my use-case requires using Kratos + Oat...
# talk-oathkeeper
d
Hello all, my use-case requires using Kratos + OathKeeper (for generating JWTs), but the concern I have is does OathKeeper allows revoking JWTs.
Also, How can I configure expiry of a JWT generated??
b
In general JWT tokens can only expire at their preset expiration date. Its one of the fundamental tradeoffs between them and sessions.
The accepted answer covers what can be done well https://stackoverflow.com/questions/21978658/invalidating-json-web-tokens
d
Yes, you are right, but by adding the token in blacklist until its expiry time can help (I know this defeats the purpose of statelessness provided by JWTs). And want to know if oathkeeper provides such functionality??