
AlexP.54478 (Customer) asked a question.
Hello,
I have a Spring Boot application which uses the Okta SDK. I created an Okta Application which uses a public/private key to authenticate my Spring application.
The problem: I stopped my Spring application for a longer period of time (a couple of weeks), at startup I get the error:
Caused by: com.okta.sdk.impl.oauth2.OAuth2HttpException: invalid_client - The client_assertion token has an expiration too far into the future.
Caused by: com.okta.sdk.resource.ResourceException: HTTP 401, Okta null (null)
From the Okta System Log, the reason for the fail is: client_assertion_expires_too_far_in_future.
I couldn't find anything related to this problem in the documentation, so maybe someone knows what the problem is and can give some solutions?
Thank you.

Hello @AlexP.54478 (Customer),
Feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, and they should be able to help you with this.
Thanks!
Tim
Okta, Inc.