我已经配置了联合身份验证服务。我必须在WS-Federation服务中使用Web API。因为联合服务使用Cookie来存储安全令牌,而Web API中不支持Cookie。现在,如何在WS-Federation中使用Web API?
发布于 2016-12-07 06:04:50
此链接讨论将对您有所帮助:Invoking webapi throws No Access-Control-Allow-Origin header is present on the requested resource
它声明WebApi使用主机的登录协议。
https://stackoverflow.com/questions/39586282
复制相似问题