Integrate JSON Web Token Authentication into Single-page Apps

JSON Web Tokens (JWT) are one of the most widely used authentication mechanisms in modern SPAs. In this article, Rob Gravelle shows us how to set up a SPA in MS Visual Source Code. Within that development environment, we’ll build and test an SPA that authenticates a user’s credentials against one that is stored securely in a MongoDB database.