I am have a WinForms App running .Net 4.5.2.
When logging in, I create a ClaimsPrincipal with a bunch of claims. I save to the Thread.CurrentPrincipal. In the same logging-in process, the ClaimsPrincipal works fine.
After the application initializes, when the user clicks on a control, I try to retrieve the ClaimsPrincipal from ClaimsPrincipal.Current. When I do, it is a GenericPrincipal and it loses all its claims.
What am I doing wrong?