SAP Knowledge Base Article - Preview

3742276 - swagger ui authorization fails with error code 401 after upgrade to jdk 21 due to public client flow restrictions - SAP commerce cloud

Symptom

After upgrading to 2211 with JDK 21, login/authorization in OCC Swagger UI fails with 401 error code

"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 in the Public Cloud

Product

SAP Commerce Cloud all versions

Keywords

swagger authorization failure, occ swagger ui, oauth, jdk 21, 2211, public client, confidential client, client credentials, authorization code, pkce, token, login issue, oauth migration, commerce cloud, swagger login , 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.