Update json-jwt legacy methods
This commit is contained in:
parent
58aef5658b
commit
b09ee87912
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ describe Api::OpenidConnect::IdTokensController, type: :controller do
|
|||
json = JSON.parse(response.body).with_indifferent_access
|
||||
jwks = JSON::JWK::Set.new json[:keys]
|
||||
public_keys = jwks.map do |jwk|
|
||||
JSON::JWK.decode jwk
|
||||
JSON::JWK.new(jwk).to_key
|
||||
end
|
||||
public_key = public_keys.first
|
||||
expect(Api::OpenidConnect::IdTokenConfig::PUBLIC_KEY.to_s).to eq(public_key.to_s)
|
||||
|
|
|
|||
Loading…
Reference in a new issue