AD FS 2.0 Authentication and AJAX

后端 未结 7 1841
一向
一向 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:27

    You can do only this type of datatype

    "xml": Treat the response as an XML document that can be processed via jQuery. 
    
    "html": Treat the response as HTML (plain text); included script tags are evaluated. 
    
    "script": Evaluates the response as JavaScript and evaluates it. 
    
    "json": Evaluates the response as JSON and sends a JavaScript Object to the success callback. 
    

    If you can see in your fiddler that is returning only html then change your data type to html or if that only a script code then you can use script.

    0 讨论(0)
提交回复
热议问题