Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在解决与 SP 端的 Kentor Authservices 和 IDP 端的 Shibboleth 克隆的无限重定向相关的问题。我的问题是这可能是什么原因,我如何拦截并记录 Kentor 重定向回 IDP 的决定?
当您在 web.config 中有授权部分并设置~/AuthServices/SignIn为登录 url 时,通常会出现这种情况<authentication mode="forms">。
~/AuthServices/SignIn
<authentication mode="forms">
如果是这种情况,请尝试临时设置另一个不会直接触发重定向到 Idp 的登录 URL。它可以是一个简单的页面,只包含一个指向~/AuthServices/SignIn.
然后使用 Fiddler 或浏览器的调试工具查看重定向序列。即使我上面关于 web.config 设置的猜测不正确,这也是开始故障排除的正确方法。