ccrockett / omniauth-keycloak

Keycloak Strategy for OmniAuth.
MIT License
53 stars 42 forks source link

Are there any reason to specify one certificate key to decode JWT? #17

Closed brunoarueira closed 2 years ago

brunoarueira commented 3 years ago

Hi, thanks for the amazing omniauth keycloak integration you've put on this gem!

When I'd to test some example apps with a demo keycloak instance, my keycloak instance return multiple certificate keys and I've trouble on the following code:

https://github.com/ccrockett/omniauth-keycloak/blob/68136923dcde022cd81d6c9ad41d2715afdb8cde/lib/omniauth/strategies/keycloak-openid.rb#L47-L51

Are there any reason to specify it?