gpt4 book ai didi

azure-active-directory - 错误 : AADSTS90015: Requested query string is too long(while doing ADFS)

转载 作者:行者123 更新时间:2023-12-02 04:28:36 25 4
gpt4 key购买 nike

我正在进行 ADFS 身份验证,当我单击 Microsoft Teams 中的登录 按钮时,我将被重定向到我的 URL,页面被重定向后我收到以下错误:

AADSTS90015:请求的查询字符串太长。

我尝试了以下解决方案:

HTTP Error 414. The request URL is too long. asp.netQuery string is too long

但我无法解决问题,请帮我解决这个问题。

最佳答案

您链接的两个问题中的解决方案并不完整。尝试将以下内容添加到您的 web.config 中:

<system.webServer>
<security>
<requestFiltering>
<requestLimits maxQueryString="32768"/>
</requestFiltering>
</security>
</system.webServer>

参见:

http://www.iis.net/ConfigReference/system.webServer/security/requestFiltering/requestLimits

您可能还需要在 web.config 中添加以下内容:

<httpRuntime maxQueryStringLength="32768" maxUrlLength="65536"/>

当然,这些数字只是示例,您不必在这些设置中使用这些确切的值。

关于azure-active-directory - 错误 : AADSTS90015: Requested query string is too long(while doing ADFS),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51243350/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com