© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
S. CashmoreBeginning Azure Static Web Appshttps://doi.org/10.1007/978-1-4842-8146-8_9

9. Authentication

Stacy Cashmore1  
(1)
Amsterdam, The Netherlands
 

Up until now, we have been working anonymously in our application. To read blog posts, we do not need to know who the user is – our blog post will be open to all for reading.

However, now we want to allow only certain users to be able to add new blog posts or edit existing ones. To do this, we need authentication and authorization.

Authentication to know who is using our application, and authorization to know what roles that user has, and what they should be allowed to do within the application.

In this chapter, ...

Get Beginning Azure Static Web Apps: Building and Deploying Dynamic Web Applications with Blazor 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.