我正在使用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)
任何想法可能是什么原因导致这个错误?
根据这两个问题,这个Event似乎主要与一个不正确的被动请求有关。
还有一种情况可能与没有使用正确的协议有关。
https:/stackoverflow.coma373954002690525
我会审查你的要求,以确保没有任何明显的与他们可能是触发这些事件。