jose-jwt
jose-jwt copied to clipboard
extraHeaders not adding to headers in jwt token
I added an extraHeader and it did not appear when i put the token into jwt.io. Also, if you try to override the "alg" header it is supposed to throw an exception and it does not.
Nevermind, I removed the JWT package and now it works, but it still does not throw that exception if you add the alg to the extra headers.
'alg' / 'enc' in extra headers documented here: https://github.com/dvsekhvalnov/jose-jwt#adding-extra-headers
Can you post your code that doesn't include additional headers?
I tried in a fresh app and could not re-create. In the original app, I removed the other JWT nuget package the headers started showing up.
Glad it working, feel free to close then :)