Authentication and Authorization [4 of 8] | .NET on Azure for Beginners
dotnet
0:00 / 0:00
Authentication and Authorization [4 of 8] | .NET on Azure for Beginners
29 745 просмотров · 3 года назад
dotnet
356 тыс. подписчиков
29 745 просмотров · 3 года назад
View full playlist: https://aka.ms/dotnet/beginnervideos/...
Get Started with .NET in Visual Studio: https://aka.ms/dotnet/get-started/vs
Welcome to the .NET on Azure for Beginner series where you will learn the basics of getting your .NET applications up and running in Azure! This series will cover a lot - from resource group naming conventions to Managed Identity, to deploying your apps to Azure via GitHub Actions!
In this episode Matt is going to add some authentication and authorization to the app by breaking it into two. We'll have a frontend that will communicate with the backend with certain operations in the backend needing auth to complete. And that auth will be provided by Azure AD B2C.
Chapters:
00:00 - Intro
01:50 - Provision an Azure AD B2C tenant
04:28 - Creating Azure AD B2C user flows
06:58 - App registrations in AD B2C
08:35 - Explaining the new app architecture
14:30 - Running and testing a user flow
17:30 - Hooking up Azure AD B2C to the application
24:10 - Creating the Web API's B2C registration
27:37 - Testing user scopes with https://jwt.ms
29:26 - Putting the web api and app together with B2C
Follow Matt:
Twitter: / codemillmatt
GitHub: https://github.com/codemillmatt
Links:
Microsoft.Identity.Web and Web APIs - https://aka.ms/beginner/dotnet/azure/...
Secure ASP.NET Core Blazor apps - https://aka.ms/beginner/dotnet/azure/...
ASP.NET Core Blazor auth - https://aka.ms/beginner/dotnet/azure/...
Auth in minimal APIs - https://aka.ms/beginner/dotnet/azure/...
Acquiring tokens for web APIs - https://aka.ms/beginner/dotnet/azure/...
Get the code! https://aka.ms/beginner/dotnet/azure/...
🙋♀️🙋♂️ Get your questions answered on the Microsoft Q&A for .NET: https://aka.ms/dotnet-qa
🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: https://aka.ms/learndotnet
#dotnet #azure #azureforbeginners