Symptom
After upgrading to SAP Commerce Cloud 2211 for JDK21, accessing the Authorization Server endpoint results in an infinite redirect loop:
/authorizationserver/
→ /authorizationserver/authorizationserver/
→ /authorizationserver/authorizationserver/authorizationserver/
→ ...
Typical response:
HTTP 302 Redirect
After enabling debug log of package "org.springframework.security.web", from affected environment the below logs can be observed:
DEBUG org.springframework.security.web.access.channel.ChannelProcessingFilter: Request: filter invocation [GET /]; ConfigAttributes: [REQUIRES_INSECURE_CHANNEL]
DEBUG org.springframework.security.web.access.channel.RetryWithHttpEntryPoint: Redirecting to: /authorizationserver/
DEBUG org.springframework.security.web.DefaultRedirectStrategy: Redirecting to /authorizationserver/authorizationserver/
Expected (working/OOTB):
DEBUG org.springframework.security.web.access.channel.ChannelProcessingFilter: Request: filter invocation [GET /]; ConfigAttributes: [REQUIRES_SECURE_CHANNEL]
Read more...
Product
SAP Commerce Cloud 2211 for JDK21
Keywords
infinite redirect loop, authorizationserver , 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.
SAP Knowledge Base Article - Preview