unison
unison copied to clipboard
Update uses of deprecated JWT encoders
Remove the Wno-deprecations pragma from here and fix any errors.
Manipulating JWT claims with addClaim etc. directly is deprecated, the new way appears to be to define custom types with JSON instances and use those to encode/decode the JWT; see https://github.com/frasertweedale/hs-jose/issues/116