导致错误的签出请求

问题描述 投票:0回答:1

我正在使用ADFS 2016进行OAuth2OIDC。在某些情况下,我在事件查看器中看到以下错误(551)。

An error occurred during processing of an OAuth logout request. 
Path: /adfs/oauth2/logout?post_logout_redirect_uri=*******&id_token_hint=*****
Additional Data 

Exception details: 
System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthAuthorization.OAuthSignoutProtocolHandler.GetLogoutUrisFromSession(OAuthSessionInfo sessionInfo, String issuer)
   at Microsoft.IdentityServer.Web.Protocols.OAuth.OAuthAuthorization.OAuthSignoutProtocolHandler.ProcessSignout(ProtocolContext context, List`1 iFrameSignoutUris, Boolean isPartial)

任何想法可能是什么原因导致这个错误?

owin adal adfs4.0
1个回答
1
投票

根据这两个问题,这个Event似乎主要与一个不正确的被动请求有关。

https:/answers.microsoft.comen-usmsofficeforumallissues-with-domain-owa4877a550-1d25-4669-bee1-59d9b0993826。

还有一种情况可能与没有使用正确的协议有关。

https:/stackoverflow.coma373954002690525

我会审查你的要求,以确保没有任何明显的与他们可能是触发这些事件。

© www.soinside.com 2019 - 2024. All rights reserved.