JWT

Showing 1-3 of 3 results
EngineeringIcon ChevronMobile

How to Do JWT Authentication with an Angular 6 SPA

by Sebastian Schocke

JSON web tokens (JWTs) provide a method of authenticating requests that's convenient, compact, and secure. More often than not, Angular apps will include them in their data flows. In this tutorial, Toptal Freelance Software Engineer Sebastian Schocke shows how to implement JWT authentication in an Angular 6 single-page application (SPA), complete with a Node.js back-end.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

REST Security with JWT using Java and Spring Security

by Dejan Milosevic

Although the old, standardized security approaches work with REST services, they all have problems that could be avoided by using a better standard. For this, JWT arrives just in time to save the day. In this article, Toptal engineer Dejan Milosevic guides us on how to implement a JWT token-based REST API using Java and Spring Security.

11 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

JSON Web Token Tutorial: An Example in Laravel and AngularJS

by Tino Tkalec

Authentication is one of the most important parts of any web application. For decades, cookies and server-based authentication was the easiest solution. However, handling authentication in modern Mobile and Single Page Applications can be tricky and demand a better approach. One of the best known solutions to authentication problems for APIs is the JSON Web Token (JWT).

16 minute readContinue Reading

Join the Toptal® community.