We are trying to implement "
Partytown" to serve third-party scripts through webworker service where for metarouter the Script URL needs to come from CDN to which Sitecore has access but the frontend system is not having access. thus we are creating a proxy, frontend will give Sitecore a URL to access, and Sitecore should access that URL and return whatever it is there (the get request)
If I try to do a hit on the service from Sitecore I get the result while hitting it through the frontend system via the backend gives a 403.
I tried using [ServicesController] from
Sitecore.Services.Core but did not resolve the issue. Trying it through
CORS but any leads on this are welcome.
ERROR SAYS : Strict origin when ross origin