dotnet/aspnetcore

Log decryption failures

Open

#4,651 建立於 2018年6月1日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C# (10,653 fork)batch import
affected-mediumarea-authenhancementhelp wantedseverity-minor

倉庫指標

Star
 (37,933 star)
PR 合併指標
 (平均合併 16天 9小時) (30 天內合併 258 個 PR)

描述

"Correlation failed" is one of the most common failures in OIDC or OAuth flows. Many of the things that can go wrong here happen on the client and can't be traced from the server. However there's one scenario where everything does flow back to the server and the server fails to decrypt the values. This can happen in a multi-node environment with misconfigured dataprotection (RE: https://github.com/aspnet/Security/issues/1755). We can highlight this by logging decryption failures in OAuth, OIDC, and CookieAuth.

貢獻者指南