News for hackers. Stuff that matters.
Re:Ask HN: What's the current sentiment on JWT for stateless... by james_s_tayler on Friday December 13, 2019 @11:04PM (#21787721)
I disagree. If you make an API Gateway responsible for that concern then it's the only thing that needs to maintain state. The blacklist itself probably kept in something like Redis and the API Gateway just checks against it. Then all downstream services get the benefit of JWT in a "stateless" fashion as advertised. That is, none of the downstream services know or care about any state. They get a request with a JWT and if it has the right claims, it services the request.

There are no comments on this comment yet.