SAP Knowledge Base Article - Preview

3777100 - OAuth token expires much faster after upgrading to JDK21

Symptom

With the upgrade to Commerce 2211-jdk21, OAuth tokens now expire much faster. As a result, any process that makes several OCC API calls and runs over five minutes will fail, because the token expires before the process completes. This wasn't a problem before the upgrade.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud 2211 for JDK21

Keywords

OAuth token expiry, OAuth token expiration, TTL, accessTokenValiditySeconds, authorization server, OAuthClientDetails , KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.