json_web_token_ex
json_web_token_ex copied to clipboard
Support Erlang 24
Erlang 22.1 introduces :crypto.mac/4, 23 deprecates :crypto.hmac/3 and 24 removes it.
This PR adds support for both functions depending on which one exists.
I merged this PR into our fork and we are using it in production by now without any issues.
I fixed it by switching to https://hex.pm/packages/joken instead of this library, seems better maintained.