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

401 Unauthorized when IdentityServer is deployed on IIS with a Host name #3867

Closed thejonamreddy closed 7 years ago

thejonamreddy commented 7 years ago

401 Unauthorized when IdentityServer is deployed on IIS with a Host name

Hi Team,

We are using IdentityServer3 implicit flow in our application. Here is the structure.

image

In the above structure, the Client, ASP.NET Web API & STS are deployed as applications under the same website in IIS 8.

When the application is accessed using the machine name or the IP, everything works perfectly. However, when a host name is given to the site where the application is deployed Ex: www.xyz.com, Step 3 in the diagram fails with a 401 Unauthorized.

We have tried debugging the issue, going through the logs etc. and so far no luck in finding the root cause.

Requesting your assistance.

Thank you, Manoj

KhalilMohammad commented 7 years ago

I have the same scenario and same problem.

brockallen commented 7 years ago

Sounds like a deployment/environmental issue.

This seems to be a general question about IdentityServer - not a bug report or an issue.

Please use one of the our free or commercial support options

See here for more details.

Thanks!