A secure implementation of JSON Web Tokens (JWT) in C#

Maurits de Ruiter
The Startup
Published in
5 min readNov 24, 2019

--

I updated this article on May 3rd with a better way to deal with refresh tokens and to accomodate for an update of the JWT package.

This week I was improving the backend of an app of our company. It used basic authentication to authenticate users against the database. Because we were implementing multifactor authentication, it needed to be improved. At the same time the…

--

--