SAP Knowledge Base Article - Preview

3743934 - New OAuth Token Generated for Every Request After JDK 21 Upgrade

Symptom

After upgrading to JDK21, each OAuth token request with grant_type=client_credentials returns a new access token instead of reusing an existing unexpired token.


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud all versions

Keywords

oauth, oauth2, jdk21, jdk17, client_credentials, authorization_code, token reuse, new token each request, spring authorization server, jwt, access token, refresh token, commerce cloud, swagger, token rotation , 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.