Skip to content
Discussion options

You must be logged in to vote

The problem space is illustrated by this diagram.

Your client will have a ClaimsPrincipal as a result of the client-side authentication. Presumably your authentication process will have fully populated that principal (actually its ClaimsIdentity) with all the user's claims (roles, etc.) so you can use authorization rules in your business layer code.

When you make a data portal call to the app server, the app server also needs that ClaimsPrincipal and its identity (with the claims). So the question is: how do I either transfer the client-side principal to the server, or how do I have the server recreate the principal on each request?

There are a couple primary models to consider.

First, y…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rockfordlhotka
Comment options

You must be logged in to vote
2 replies
@rockfordlhotka
Comment options

@adrianwright109
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants