JWT Decoding
jwt-decode is a small browser library that helps decoding JWTs token which are Base64Url encoded.
NOTE: This library doesn't validate the token, any well formed JWT can be decoded. You should validate the token in your server-side logic
Instalation
Run npm install jwt-decode or yarn add jwt-decode to install the library.
Usage
import jwt_decode from "jwt-decode";