I am using hasura graphql engine for querying my database. and I would like to use keycloak for as authentification and autorization source with JWT. For this, Hasura asks for JWK configuration. I pointed the jwk_url needed to
Hasura throws the following error:
Error parsing JWK from url (https://keycloakserver/auth/realms/<my-realm>/protocol/openid-connect/certs): Error in $.keys: expected 66 octets, found 65
And I don’t where to start looking for a fix. My initial guess was the crypto key (rs256 by default) but I changed it with no success.
What could be the source of the error?