A simple, exportable function for getting the payload from a JWT (JSON Web Token).
github.com/wdmtech/jwt-payload-decoder
wdmtech/jwt-payload-decoder