SAP Knowledge Base Article - Preview

3387409 - CORS Error for ASM user when searching for customers after login


After setup ASM for Composable Storefront, even relevant CORS configuration is set as ASM setup document instructs, when end user login with the ASM user and tries searching for the customer, there is still CORS error shown in browser console with below pattern.

Access to XMLHttpRequest at '' from origin '' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

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



SAP Commerce Cloud 2211


Composable Storefront, spa, spartacus, CORS, ASM, search, 404, 500 , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , 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.