Relative Content

Tag Archive for asp.net.netjwtauthorization

.NET 7 Handling JWTs

I’ve been reading a few articles on how to implement JWTs and adding claims in these tokens to validate the request and the credentials but what I noticed are different ways to handle such tokens. In one article the tutorial followed a pattern to save the tokens in the DB and when it was time to refresh the token it would validate the token from the DB and check if the token saved in the DB is expired or not. If not, then it would reissue a new token to save in the DB.