We\'ve set up CORS for our .NET 5 Web API that uses IdentityServer4 as authentication provider.
HTTP calls from our JS client (Ionic/Capacitor) to for example /account/re