IdentityServer / IdentityServer3

OpenID Connect Provider and OAuth 2.0 Authorization Server Framework for ASP.NET 4.x/Katana
https://identityserver.github.io/Documentation/
Apache License 2.0
2.01k stars 763 forks source link

connect/token endpoint returns 405 (method not allowed) in Azure #3868

Closed farfush closed 7 years ago

farfush commented 7 years ago

Question

Have more a question than an issue. Have IdentityServer3 in Azure as WorkerRole. Using OWIN self-hosting

CORS is throwing 405 from JS client (swagger) on connect/token endpoint in Azure.

CORS is configured on IS3 side as AllowAll

It works locally with Azure simulator (use fiddler to simulate different domains) - sends OPTIONS request and received back proper headers from IS3.

Question. Did anyone face same issue with azure worker role?

spelltwister commented 7 years ago

I am also getting 405 after deploying to azure (in my case, an app service). Works fine when deployed to IIS on a VM. I'm also using OWIN.

brockallen commented 7 years ago

Check your azure logs.