golang-jwt / jwt

Go implementation of JSON Web Tokens (JWT).

Home Page:https://golang-jwt.github.io/jwt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Be able to skip b64 encoding on payload

emilpriver opened this issue · comments

Hey,
I did have a issue where I needed to prevent signing the jwt payload with b64. Is there a option to skip b64 encoding or is it possible to add it?

I am working on a PR for this

I am not quite sure what you want to achieve? If you do not do any base64 encoding, the result will not be a valid token.

Hi @oxisto

We do often when we work with banks need to create a detached JWS signature(a normal JWT without signed claims). I did add a PR, should we continue to discuss there? :D