This PR fixes a bug with issuing JWT tokens with alg header always set to HS256 (regardless of the currently applied configuration).
Since our library does not care about the header's alg value when checking Json Web Signatures, this issue did not appear as long as you either stay with HS256 algorithm or do not perform any JWS verification outside of your app.
This PR fixes a bug with issuing JWT tokens with
alg
header always set toHS256
(regardless of the currently applied configuration).Since our library does not care about the header's
alg
value when checking Json Web Signatures, this issue did not appear as long as you either stay with HS256 algorithm or do not perform any JWS verification outside of your app.