oauth 2.0 – Identity Server 4 connect/token works when self hosted but not when post

I built an .NET Core 3.1 IdentityServer4 to protect some API endpoints: public static class Config { public static IConfiguration Configuration { get; } public static IEnumerable<IdentityResource> IdentityResources => new IdentityResource[] { new IdentityResources.OpenId(), new IdentityResources.Profile(), }; public static IEnumerable<ApiScope> ApiScopes => new ApiScope[] { new ApiScope(“DEMO_SCOPE”), new ApiScope(“SCOPE1”) }; public static IEnumerable<Client> Clients => … Read more