You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there's a bug in keycloak authenticator. When keycloak jwks_uri returns multiple certs and cert with index 0 is e.g. cert for encryption - client fails signature verification.
for key in jwk_data['keys']:
if key['use'] == 'sig':
self.public_key = RSAAlgorithm(RSAAlgorithm.SHA256).from_jwk(key)
self.log.info(f"aquired public key from {jwks_uri}")
break
The text was updated successfully, but these errors were encountered:
Hi team,
there's a bug in keycloak authenticator. When keycloak jwks_uri returns multiple certs and cert with index 0 is e.g. cert for encryption - client fails signature verification.
The error in in here:
jupyterhub-extensions/KeyCloakAuthenticator/keycloakauthenticator/auth.py
Line 176 in 0997d9b
I think it could be fixed with code like this:
The text was updated successfully, but these errors were encountered: