Join Slack
Powered by
Hello all, my use-case requires using Kratos + Oat...
# talk-oathkeeper
d
dazzling-honey-93005
09/23/2022, 12:46 PM
Hello all, my use-case requires using Kratos + OathKeeper (for generating JWTs), but the concern I have is does OathKeeper allows revoking JWTs.
dazzling-honey-93005
09/23/2022, 12:46 PM
Also, How can I configure expiry of a JWT generated??
b
best-policeman-12689
09/23/2022, 6:00 PM
In general JWT tokens can only expire at their preset expiration date. Its one of the fundamental tradeoffs between them and sessions.
best-policeman-12689
09/23/2022, 6:01 PM
The accepted answer covers what can be done well
https://stackoverflow.com/questions/21978658/invalidating-json-web-tokens
d
dazzling-honey-93005
09/24/2022, 5:02 PM
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??
2
Views
Open in Slack
Previous
Next