dotnet / dotnet/aspnetcore

Add logging in SecureDataFormat

Open
#51,169 0 comments 0 reactions 0 assignees View on GitHub
area-auth feature-observability task
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Errors from Unprotect are currently suppressed, making them difficult to debug.
https://github.com/dotnet/aspnetcore/blob/933bc8447e10e3e4a327e8ac1c598935ddd294ae/src/Security/Authentication/Core/src/SecureDataFormat.cs#L85-L89

### Describe the solution you'd like

Log these Exceptions.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.