AD FS 2.0 Authentication and AJAX

后端 未结 7 1880
一向
一向 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:04

    You should create a file anyname like json.php and then put the connection to the relayparty website this should works $.ajax({ url: "json.php", data: { foobar }, dataType: "json", type: "POST", async: false, cache: false, success: function (data) { // do something here }, error: function (data, status) { alert(status); } });

提交回复
热议问题