Posted 13 May 2025, 7:02 pm EST
I have a Blazor Server project and have the ReportDesigner loading, working great. I’m using AspNet Identity Core for authentication, that’s working fine too. On my designer page, I can inject a AuthenticationStateProvider and display the current user from that. What I would like is to automatically set the Author property of the currently edited report to the user’s username.
I have overridden the IReportStore and inject a IHttpContextAccessor. I think because this is being called from some other API it’s not correctly setting the user information. Everything else in the IReportStore is fine (reading and writing to the database). I just want to be able to identify who created a report, and who updated it.