Migrating to ClaimsPrincipal/ClaimsIdentity #3921
Replies: 3 comments 10 replies
-
Hi. Could you post the CSLA configuration snippets from your client/server please. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
10 replies
-
Since my actual login command seems to work I'm going to close this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We now have our code compiling again against Csla 7 and I'm trying to get our integration tests working. I quickly hit an issue using the http portal, so am trying to run things locally instead to see if that at least works.
In trying to using just ClaimsPrincipal/ClaimsIdentity, I hit an unexpected issue. As part of our login code, we add two claims to the identity, an id and token which we use server side to get the login info. Initially ApplicationContext.LocalContext was being lost, so I configured the context manager to be ApplicationContextManagerStatic, which seems to have fixed that problem but now in our Authorizer code we get a ClaimsPrincipal with a null Identity (as so of course there are no claims).
Any ideas what might cause that? I am also using EnableSecurityPrincipalFlowFromClient so that the id/key claims mentioned earlier flow to the data portal server.
Beta Was this translation helpful? Give feedback.
All reactions