ASP.NET Federated Authentication with Cross Domain

When a user accesses my ASP.NET MVC page, I authenticate the user by federated authentication, redirecting the response to login page of Identity Provider which is in another domain .

Suppose;

Identity Provider domain: firmname.com

My domain: subdomain.firmname.local

When the Identity Provider returns with HTTP 302/Redirect with FedAuth cookie, this cookie is not sent to my website so authentication fails. I think this happens because of cross domain request and browser does not pass the cookie.

How can I fix it?

链接地址: http://www.djcxy.com/p/71810.html

上一篇: 如何在django中提出禁止响应

下一篇: 具有跨域的ASP.NET联合身份验证