This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
DefaultAuthorizationService call to _logger.UserAuthorizationSucceeded always has a null user #755
Closed
Description
All of my API call logs say "Authorization was successful for user: null" because Name is always null on user.Identity. It seems the name would always be populated from an identity token which usually wouldn't be passed to an API. It seems the best you could do here would be to log the sub claim? Maybe I'm missing something though.