C#C
C#3y ago
kaypee90

❔ I am getting CORS error when I deploy Duende Identity Server but it work fine locally

I get 400 Bad request trying to login on Duende identity server when I deploy it onto a remote server.

When I inspect the logs this is what I see:
Duende.IdentityServer.Hosting.CorsPolicyProvider
| CORS request made for path: /Account/Login from origin: null but was ignored because path was not for an allowed IdentityServer CORS endpoint

What am I missing?
Was this page helpful?