I have to apply multiple Access-control-allow-origin for particular domains via irule Description of the. If the origin appears on the whitelist then it is reflected in the Access-Control-Allow-Origin header so that access is granted. Hi guys, I would like to ask about your help. When a CORS request is received, the supplied origin is compared to the whitelist. When the browser makes a request, HTTP APIs checks the list for the incoming origin. Some applications that support access from multiple origins do so by using a whitelist of allowed origins. Note that the AllowOrigin section allows more than one domain. But even after adding these I am still getting the CORS issue when we try to load those static pages from configured domains. This template configures HTTP APIs to manage CORS for the preflight requests and the actual requests. I tried to add below 2 lines as suggested for 2 domains. I referred to the adobe documentation suggested for configuring multiple domains to avoid CORS issue. To specify multiple domains for Access-Control-Allow-Origin in Nginx, you can use the following approach: 1. In AEM as a cloud service, there are couple of static pages which are consumed by website which does not share the same domain of these pages, By default when we try to load those pages on the website with different domain it gives CORS issue saying No "Access-Control-Allow-Origin" header present on the requested resource. How enable multiple domains for Access-Control-Allow-Origin I have one application (ASP. If the server supports clients from multiple origins, it must return the origin for the specific client making the request.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |