Broken header serialization in v0.4.4
See original GitHub issueWith version 0.4.4 the JwtHeader is wrongly trasformed as
[{"alg":"HS256"},{"typ":"JWT"}]
instead of
{"alg":"HS256","typ":"JWT"}
This is because in the JwtHeader class, in the asJsonString
function we do:
implicit val formats = org.json4s.DefaultFormats
org.json4s.jackson.Serialization.write(toSerialize)
instead of
SimpleJsonSerializer(toSerialize)
Please please fix it as this is making impossible to use the library!
Cheers, D.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
kubernetes/ingress-nginx - DO Proxy Protocol broken header
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT NGINX Ingress controller version: 0.24.0 Kubernetes version (use kubectl ...
Read more >json_serializable | Dart Package - Pub.dev
Require json_annotation '>=4.4.0 <4.5.0' . ... NOTE: This is a potential breaking change if any user code relies on the previously generated private ......
Read more >Serialization breaks in .NET 4.5 - Stack Overflow
In 4.5, the implementation of XmlSerializer was replaced with one that isn't dependent on the C# compiler. While it provides better startup ...
Read more >Firebase Apple SDK Release Notes - Google
Breaking change: import Firebase will no longer implicitly import Firebase ... Updated Analytics public header documentation to reference Swift names.
Read more >Kong Gateway Changelog | Kong Docs
Fixed an issue where queue ID serialization did not include queue_size and ... Fixed an issue with accept headers not being split and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey thanks, I removed the SimpleJsonLibrary as it may be vulnerable to injection attacks. I’ll look at this right now.
0.4.5 published - it looks good.