diff --git a/main.go b/main.go index f4541d5..ea52249 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ func main() { flag.Parse() jwtToken := flag.Args()[0] payload := strings.Split(jwtToken, ".")[1] - json, err := base64.StdEncoding.DecodeString(payload) + json, err := base64.RawStdEncoding.DecodeString(payload) if err != nil { log.Fatal(err) }