> ## Documentation Index
> Fetch the complete documentation index at: https://docs.msu.io/llms.txt
> Use this file to discover all available pages before exploring further.

# JWK Set

> Retrieve the public key list used to verify Access Token signatures.

Returns the public key list used to verify Access Token signatures, in JWK Set format. Use these public keys to verify the signature and integrity of Access Tokens.

## Response

<ResponseField name="keys" type="array">
  List of public keys in JWK format.

  <Expandable title="properties">
    <ResponseField name="kty" type="string">
      Key type. Always `RSA`.
    </ResponseField>

    <ResponseField name="kid" type="string">
      Key ID. Used to identify which key was used to sign the token.
    </ResponseField>

    <ResponseField name="use" type="string">
      Intended use of the key. Always `sig` (signature).
    </ResponseField>

    <ResponseField name="alg" type="string">
      Algorithm. Always `RS256`.
    </ResponseField>

    <ResponseField name="n" type="string">
      RSA public key modulus (Base64URL encoded).
    </ResponseField>

    <ResponseField name="e" type="string">
      RSA public key exponent (Base64URL encoded).
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://oauth.msu.io/.well-known/jwks.json' \
    --header 'Content-Type: application/json'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://oauth.msu.io/.well-known/jwks.json');
  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get('https://oauth.msu.io/.well-known/jwks.json')
  data = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "keys": [
      {
        "kty": "RSA",
        "kid": "msu-oauth",
        "use": "sig",
        "alg": "RS256",
        "n": "qdv0bvFFiXcOd86MazNh...",
        "e": "AQAB"
      }
    ]
  }
  ```
</ResponseExample>
