How authentication works
- Sign a short-lived JWT client assertion with the private key registered for your client ID.
- Exchange the assertion for an access token at the token endpoint.
- Send the access token in the
Authorizationheader of each API request. - Request a new token before the current one expires.
Get your credentials
You receive a client ID with your KODE project delivery. Contact your KODE project team if you have a client ID but cannot locate the matching private key.The exact client assertion claims and credential retrieval steps are being finalized. Until then, follow the instructions supplied with your project delivery.
Create a client assertion
Sign the assertion with your private key, following the JWT bearer profile in RFC 7523. Create a new, short-lived assertion for each token request. To confirm supported signing algorithms, call Get authorization server metadata. This endpoint does not require authentication.Request an access token
Send the assertion to Create an access token as form data:access_token and expires_in. Use the returned lifetime instead of assuming a fixed value.
Use the token
Send the token as a Bearer token:Authorization field of any API reference page.

