Skip to content

CSLA Blazor Configuration utilizing Identity Server #1719

Discussion options

You must be logged in to vote

By default, CSLA takes the client-side identity and carries it to the server with each data portal call. This way the server uses the client's identity.

If your user is authenticated on the server then the default is often not the best solution, and you want to tell CSLA to not carry the client identity to the server (because the server already has the identity).

This is a config change on client and server.

      app.UseCsla(c =>
      {
        c.DataPortal().AuthenticationType("Windows");
      });

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Brannos1970
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants