Requests to the /token endpoint with client assertion fail, and the Okta system log shows the error:
client_assertion_expired_token
The response returns:
{
"error": "invalid_client",
"error_description": "The client_assertion token is expired."
}
- OpenID Connect/OAuth 2.0
- JSON Web Token (JWT)
- Client Secret JWT or Private Key JWT Client Authentication
The cause for this error is that the client assertion exp value is set to a date/time that has already passed, so the JWT is no longer valid.
To resolve this, a new client assertion with a future expiration value must be created and passed in the request to the /token endpoint.
