dotnet/aspnetcore

Log decryption failures

Ouverte

#4 651 ouverte le 1 juin 2018

 (2 commentaires) (0 réaction) (0 personne assignée)C# (10 653 forks)batch import
affected-mediumarea-authenhancementhelp wantedseverity-minor

Métriques du dépôt

Stars
 (37 933 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

"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.

Guide contributeur