smallrye / smallrye-jwt

Apache License 2.0
75 stars 47 forks source link

Support flattened JWS signature #808

Open sberyozkin opened 3 months ago

sberyozkin commented 3 months ago

In a few cases, flattened JWS serializations have to be produced (ACME clients is only one example).

JWT build API should offer an option, for example:

Jwt.claim("a", "b").jws().serialization(FLATTENED).sign();