Closed michael-cybrid closed 1 year ago
Submitted #198.
What Ruby version are you using by chance? I wasn't able to reproduce this on Ruby 3.0 or 3.1, and we've had this code running in production for over a month.
Sorry, didn't see this response; I am using ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin21]
.
🤷 Ruby 3.2.2 passes for me locally as well.
@nbulaj Could you look at #198?
Sorry, github closes automatically.
@michael-cybrid could you please install the master branch of the gem and check if everything is OK? I will release then in case of success
Verified; the fix works. Thanks!
Released with 1.8.7, thanks
Issue
NameError: uninitialized constant Doorkeeper::JWT::JWK
when callingas_jws_token
onDoorkeeper::OpenidConnect::IdToken
::JWT::JWK.new(key, { kid_generator: JWT::JWK::Thumbprint })
Possible Fix
::JWT::JWK.new(key, { kid_generator: ::JWT::JWK::Thumbprint })