For anyone would like to better understand ServiceStack’s Authentication more, the Auth docs are being rewritten which now includes new Auth Diagrams that help visualize the flow and how Authentication works:
https://docs.servicestack.net/authentication-and-authorization
Integrated ASP.NET Core Authentication
Here are the 3 new project templates which enables ServiceStack to use the same Authentication as the
rest of your ASP.NET Core and MVC Application in 3 different popular scenarios:
- Using ServiceStack Auth in MVC - Use ServiceStack Auth to power ASP.NET Identity Auth, pre-configured in the mvcauth project template.
- Using ASP.NET Identity Auth in ServiceStack - Use ASP.NET Identity Auth to Authenticate ServiceStack Services, pre-configured in the mvcidentity project template.
- Using IdentityServer4 Auth in ServiceStack - Use IdentityServer4 to Authenticate ASP.NET Core and ServiceStack Services, pre-configured in the mvcidentityserver project template.
World Validation
Whilst the World Validation walk through shows how to Authenticate, Register Users and access Authenticated Services in 8 different popular Web development scenarios.