@dbcdk/decrypt-jwt-token
v1.0.2
Published
Decrypts the content of a Nextauth generated jwt token
Readme
Decrypt-jwt-token
This script is used to inspect the content of JWT/JWE tokens generated by the next-auth framework as used by DBC. See next-auth general documentation here: https://next-auth.js.org/
To inspect a token, run:
npx --yes @dbcdk/decrypt-jwt-token@latest <secret> <token>Where <secret> is your next-auth secret, and <token> is a next-auth session token generated by your application and stored in a browser.
Result: The script prints the content of the decoded token
