Skip to content

JSON Web Key Set Endpoint

The JSON Web Key Set (JWKS) endpoint is a read-only endpoint that returns the Identity Server's public key set in the JWKS format. This contains the signing key(s) that the Relying Party (RP) uses to validate signatures from the Identity Server. For more information on this endpoint, see the OpenID Connect Discovery specification .

Before you begin!

Start WSO2 IS before you try out the endpoints.

The endpoint URL for the super tenant

Endpoint URL

Copy the following URL to your browser: https://<IS_HOST>:<IS_HTTPS_PORT>/oauth2/jwks

  • By default, <IS_HOST> is localhost. However, if you are using a public IP, the respective IP address or domain needs to be specified.
  • By default, <IS_HTTPS_PORT> has been set to 9443. However, if the port offset has been incremented by n , the default port value needs to be incremented by n .

Example: https://localhost:9443/oauth2/jwks

Response
Property value description
kty The public key type.
e The exponent value of the public key.
use

Implies how the key is being used. The value sig represents signature.

kid The thumbprint of the certificate. This value is used to identify the key that needs to be used to verify the signature.
alg

The algorithm used to secure the JSON Web Signature.

n The modulus value of the public key.

For more information, see the JWS specification .

The endpoint URL for tenants

Endpoint URL

Copy the following URL to your browser: https://<IS_HOST>:<IS_PORT>/t/<TENANT_DOMAIN>/oauth2/jwks

  • By default, <IS_HOST> is localhost. However, if you are using a public IP, the respective IP address or domain needs to be specified.
  • By default, <IS_HTTPS_PORT> has been set to 9443. However, if the port offset has been incremented by n , the default port value needs to be incremented by n .
  • Enter your tenant domain for <TENANT_DOMAIN> .

Example: https://localhost:9443/t/foo.com/oauth2/jwks

Response
Property value description
kty The public key type.
e The exponent value of the public key.
use

Implies how the key is being used. The value sig represents signature.

kid The thumbprint of the certificate. This value is used to identify the key that needs to be used to verify the signature.
alg

The algorithm used to secure the JSON Web Signature.

n The modulus value of the public key.

For more information, see the JWS specification .

Top