Session

Authentication and Authorization in Blazor

Thanks to Blazor, every .NET developer can now build Single Page Applications with a familiar syntax, sharing code with the server and leveraging C# instead of JavaScript.

However, the technical architecture is fundamentally different than the one of ASP.NET MVC or Razor Pages, especially when it comes to supporting modern security protocols, such as OpenID Connect and OAuth.

During this talk we'll revisit the basics of these modern security protocols and see what the templates in Visual Studio provide us out of the box.

Then we'll learn how to customize the security layer of our application, by integrating with an external identity provider such as Identity Server or Azure Active Directory, asking for user consent and retrieving the user claims after a successful login.

As a last step, we'll see how to reuse the token in order to make a secure call to an external API protected by OAuth.

Marco De Sanctis

CTO at Mondra and Microsoft MVP

London, United Kingdom

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top