Closed stanhu closed 1 year ago
When decoding a JWT with some error, we need to catch the right error:
JSON::JWS::UnknownAlgorithm => JSON::JWK::UnknownAlgorithm
JSON::JWS::UnknownAlgorithm
JSON::JWK::UnknownAlgorithm
Relates to https://github.com/omniauth/omniauth_openid_connect/issues/146
When decoding a JWT with some error, we need to catch the right error:
JSON::JWS::UnknownAlgorithm
=>JSON::JWK::UnknownAlgorithm
Relates to https://github.com/omniauth/omniauth_openid_connect/issues/146