9 Securing Blazor applications
This chapter covers
- Integrating with an external identity provider
- Displaying UI based on a user’s authentication status
- Restricting pages to authorized users
- Authorizing users by role
Having the ability to customize and tailor the user’s experience in an application is almost a must-have nowadays. Although it’s possible to add a certain measure of customization by storing values in cookies or local storage, often the common approach is to have users create an account and sign in to the application—this is also far more secure.
Once a user is signed in, it opens all kinds of opportunities. In e-commerce sites, such as Amazon, users can view their previous orders, track current ones, and view tailored recommendations ...
Get Blazor in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.