© 2023 Hashnode
#jsonwebtoken
Welcome to the 46th day of our "Code, Blog, Repeat: A 50-Day Quest for Back-End Mastery" series! Today, we'll be diving into the world of JSON Web Tokens (JWT) and how to implement them in NodeJS. JWT…
Introduction to JSON Web Token (JWT) JWT or JSON web token is the most popular method to identify an authenticated user. The process of authentication typically consists of the user providing a userna…
Let's consider the user authentication system as a base to explain the token rotation and reuse detection feature. What happens on a successful login? On successful login, both access and refresh toke…
JSON (JavaScript Object Notation) is a popular data format used for storing data in a structured manner. CSV (Comma Separated Values) is a simple file format used to store tabular data, such as a spre…
Heredia, Costa Rica, 2022-12-10 Series: JWT Diaries, Article 1 So it came to my attention that many people don't know this way of invalidating JWT's. It seems that most people believe the only approa…
What are JWT(Json Web Tokens)? Pronounced as jot(JWT) It is a means of transferring information between parties using JSON object. It consist of three parts separated by dot(.) Header.payload.sign…
What JWT is used for? A JWT is used for authorisation, authorisation is making sure that the user that sends a request to your server is the same user that actually logged in during the authentication…
When we are creating a website that requires user authentication and authorization and then only show the protected data to the user there are several ways to do that. 1) Local Storage 2) Session Storage 3) HttpOnly Cookies Firstly we have…
Prerequisite: To follow along with this article, you are gonna need to have the following below but if you don't, feel free still enjoy. Basics of React.JS Knowledge of Node.js and Express Mongo Db …