Skip to content

Implement Enricher to Log User Claims #62

@mo-esmp

Description

@mo-esmp

Implement a new enricher for Serilog that logs user claims. The enricher should:

  • Accept a configurable list of claim names to log.
  • If the user is authenticated, log the values of the specified claims.
  • If a claim value is null, log it as null (do not skip or throw an error).

This will enhance client information logging by capturing relevant claim values for authenticated users.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions