r-lib / httr2

Make HTTP requests and process their responses. A modern reimagining of httr.
https://httr2.r-lib.org
Other
235 stars 56 forks source link

both wrappers httr2::jwt_encode_sig and httr2::jwt_encode_hmac call jose::jwt_encode_sig #508

Closed denskh closed 1 month ago

denskh commented 1 month ago

This causing error when trying to use jwt_encode_hmac: https://github.com/r-lib/httr2/blob/023c535c8584ffdd518b278015c0a95b2ca3553c/R/jwt.R#L70

hadley commented 1 month ago

Ooops. Do you want to do a PR to fix this?