AD FS 2.0 Authentication and AJAX

后端 未结 7 1842
一向
一向 2020-12-30 05:58

I have a web site that is trying to call an MVC controller action on another web site. These sites are both setup as relying party trusts in AD FS 2.0. Everything authentica

7条回答
  •  被撕碎了的回忆
    2020-12-30 06:25

    First of all you say you are trying to make an ajax call to another website, does your call conforms to same origin policy of web browsers? If it does then you are expecting html as a response from your server, changedatatype of the ajax call to dataType: "html", then insert the form into your DOM.

提交回复
热议问题