You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the enricher checks only specific claims it won't work for any other cases (e. g. OAuth). It would be better to try Identity.Name before checking for claims. I can make a PR with a fix if you're interested.
The text was updated successfully, but these errors were encountered:
Hi @montoner0, this enricher was tailor made for our use case but we are open to improve and provide a better solution for the community.
Why do you believe Identity.Nameis a better fit? An issue with using the name is that normally we avoid logging user information this way.
I think the Identity.Name is a more standard way to get user's ID since it's present in most cases, and better to have some ID than not to have any. But if you think that's against some security considerations then I won't insist.
Since the enricher checks only specific claims it won't work for any other cases (e. g. OAuth). It would be better to try Identity.Name before checking for claims. I can make a PR with a fix if you're interested.
The text was updated successfully, but these errors were encountered: