JWKS Endpoint
Corppass signs all JSON Web Tokens (JWTs) issued during the authentication and authorization process using a dedicated signing key. RPs can validate these JWT signatures by retrieving the signing public key from the Corppass JSON Web Key Set (JWKS) endpoint.
This endpoint returns one or more public keys in JSON Web Key (JWK) format. To validate a JWT signature:
Use the JWK where the
use
attribute is set tosig
(indicating a signing key).Ensure the
kid
value in the JWK matches thekid
value in the JWT’s JOSE header.
Response
Response Example
JWKS Key Rotation
Corppass reserves the right to rotate or update its signing keys at any time and without prior notice. When a key rotation occurs:
New keys will be published to the JWKS endpoint and will include a unique
kid
value.JWTs issued after the rotation will reference the updated
kid
in their JOSE headers.RPs must refresh their cached JWKS by querying the JWKS endpoint to retrieve the updated keys.
It is essential for RPs to implement proper handling for key rotations to ensure uninterrupted validation of JWT signatures.
The following fields will be deprecated in the next major version of the API:
x5c
x5t
x5t#S256
Plan to update your applications to remove reliance on these fields. We strongly recommend reviewing the updated API documentation and transitioning to alternative fields as soon as possible to avoid disruptions.
Last updated