I had previously proved this out in a POC (which I unfortunately deleted), but I am struggling with it now that I am implementing.
In a VM (which uses the Authorize filter), I am unable to access the current ClaimsPrincipal. I believe I was previously doing this via HttpContextAccessor.Current.User or ClaimsPrinical.Current, however both are now null/default.
I had previously proved this out in a POC (which I unfortunately deleted), but I am struggling with it now that I am implementing.
In a VM (which uses the Authorize filter), I am unable to access the current ClaimsPrincipal. I believe I was previously doing this via HttpContextAccessor.Current.User or ClaimsPrinical.Current, however both are now null/default.
Any recommendation?