title: How to decode keys from Keycloak openid-connect cert api
body: <p>I'm trying to get the key from Keycloak open-id connect certs endpoint that allow me to validate a JWT token. The api to fetch the keys seam to work :</p>
  
  <pre><code>GET http://localhost:8080/auth/realms/my-realm/protocol/openid-connect/certs
  
  {
   "keys": [
     {
       "kid": "MfFp7IWWRkFW3Yvhb1eVrtyQQNYqk6BG-6HZFpl_JxI",
       "kty": "RSA",
       "alg": "RS256",
       "use": "sig",
       "n": "qDWXUhNtfuHNh0lm3o-oTnP5S8ENpzsyi-dGrjSeewxV6GNiKTW5INJ4hDQ7ZWkUFfJJhfhQWJofqgN9rUBQgbRxXuUvEkrzXQiT9AT_8r-2XLMwRV3eV_t-WRIJhVWsm9CHS2gzbqbNP8HFoB_ZaEt2FYegQSoAFC1EXMioarQbFs7wFNEs1sn1di2xAjoy0rFrqf_UcYFNPlUhu7FiyhRrnoctAuQepV3B9_YQpFVoiUqa_p5THcDMaUIFXZmGXNftf1zlepbscaeoCqtiWTZLQHNuYKG4haFuJE4t19YhAZkPiqnatOUJv5ummc6i6CD69Mm9xAzYyMQUEvJuFw",
       "e": "AQAB"
     }
   ]
  }
  </code></pre>
  
  <p>but where is the key and how to decode it ?
  <code>$.keys[0].n</code> does not look like base64 and I cannot figure out what it is ?
  ...if someone can tell me how to get the public key from that payload it will be great !</p>