Created
April 3, 2023 05:02
-
-
Save jack-sparroow/6645b799b832e480f2ddea448b0e4772 to your computer and use it in GitHub Desktop.
Decode token using atob() browser utility
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" | |
console.log(atob(token.split(".")[1])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment