artemeff / jwt

Erlang JWT library
http://jwt.io/
MIT License
38 stars 39 forks source link

jwk decode fails if input is map. #14

Closed fogfish closed 6 years ago

fogfish commented 6 years ago

jwk:decode makes a hard assumption that all input is binary. However, client might obtain JWKs document from another sources as parsed map. It is helpful if decode accept map as well.

fogfish commented 6 years ago

Can you please release this feature to hex.pm? I'll appreciate it in advanced!

artemeff commented 6 years ago

Yeah, sure, released :)