Add support for ionic scheme in CORS policy
Today CORS policy in APIM only allows http, https or file scheme in allowed-origins.
Ionic webview plugin serves application from ionic:// or custom scheme. None of http, https or file is valid in ionic webview.
Please add support for inoic scheme. Thank you.
Thank you for the feedback! We added this suggestion to the backlog and will update the item when we prioritize it for implementation.
I have the same problem when I am trying to do a Http call using Ionic Capacitor (iOS platform). The error is the following: [Error] XMLHttpRequest cannot load https://… due to access control checks.
Failed to load resource: Preflight response is not successful
So the issue is related to the origin, in that case is capacitor://localhost, but in Azure Cloud is not possible to set a rule starts with capacitor://... it only allows http or https.
Is there any possible solution or workarround?
Thanks in advance!
Adding support for any(custom) url scheme would be even better.