I have more higher level question for updating an onlogged user claims in an ASP.Net 4.8 website.
How should I do it?
Number 3 seems to be the way to go, but it still feels not right. Any other suggestions?
I solved this with a static class with a threadsafe dictonary that was checked for userId(if it was changed). If it found it needed to reload the user claims and then remove the userid from the threadsafe dictonary.