0

我将 ADFS 2016 用于 OAuth2/OIDC。在某些情况下,我在事件查看器中看到以下错误 (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)

知道导致此错误的原因是什么吗?

4

1 回答 1

1

基于这两个问题,似乎此事件主要与不正确的被动请求有关

https://answers.microsoft.com/en-us/msoffice/forum/all/issues-with-domain-owa/4877a550-1d25-4669-bee1-59d9b0993826

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

https://stackoverflow.com/a/37395400/2690525

我会审查您的请求,以确保他们没有任何明显的事情会触发这些事件。

于 2020-05-14T13:39:38.457 回答