Client Assertion JWT
Corppass supports JWT-based client authentication using the mechanism defined in RFC 7523. Clients must generate and sign a JWT — known as a client assertion — and present it to Corppass when authenticating at the PAR or Token endpoints.
This method is especially suitable for confidential clients that can securely manage private keys.
When to Use
A client assertion JWT must be used whenever the client authenticates with Corppass, including during:
The JWT is passed as two fields:
client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer
client_assertion=<signed-JWT>JWT Structure
A signed client assertion JWT follows the typical JWS format:
<base64url-encoded header>.<base64url-encoded payload>.<base64url-encoded signature>JWT Header Example
typ
The type of the token, typically set to "JWT".
alg
The algorithm used for signing the JWT. Supported values are ES256, ES256K, ES384, and ES512.
kid
The Key ID associated with the signing key, matching the JWK provided during onboarding.
JWT Claims (Payload) Example
iss
Yes
The client ID of the registered client.
sub
Yes
The client ID of the registered client.
aud
Yes
The intended audience for this JWT. Must match the issuer field (iss) from the OpenID Discovery endpoint.
jti
Yes
The unique identifier for the JWT.
Prevents replay attacks. Must be unique for each JWT.
iat
Yes
Issued-at time (epoch timestamp).
exp
Yes
The expiration time after which the JWT is no longer valid.
Last updated