filmov
tv
MSAL Auth in Blazor Server: Carl Franklin's Blazor Train Ep 89

Показать описание
Carl shows how to use MSAL and Azure AD B2C to authenticate users and call a secure API.
⏱ Timeline ⏱
00:00 Intro
01:13 Create ASP.NET Core Web API Project
01:50 Secure the WebAPI App
04:35 Create new Azure AD B2C Tenant
06:48 Register a new application
08:05 Add the Web platform
09:07 Add a new client secret
09:38 Add a new scope (Expose an API)
10:41 Add the scope (API Permissions)
11:37 Add the publisher domain (Branding and Properties) to config
11:54 Set Instance value in config
12:13 Publish the API App to Azure
13:33 Configure the Microsoft Identity Provider
14:15 Create a User Flow for Sign Up and Sign In
15:27 Test User Flow by running it in the portal
16:20 Add a new Blazor Server project to the solution
16:47 Add nuget package Microsoft.Identity.Client
17:02 Add classes: Settings, NestedSettings, and Extensions
17:58 Create MsalClient folder and add IPCAWrapper, PCAWrapper, and PlatformConfig classes
19:39 Register IPCAWrapper as a singleton
22:43 Run the app, try to fetch data without logging in - no result
24:04 Log in
24:26 Try fetching data again, and it works
24:38 Summary
25:04 Outtro
🔗 Download Files 🔗
🚀 Get Started Today – Free 30 Day Trial 🚀
✅ Pricing and Online Demos ✅
🆘 We Are Here to Help 🆘
👍 Follow DevExpress on Social Media 👍
🏁 Review Customer Testimonials 🏁
#DevExpress #devexpress_blazor #devexpress_web #aspnet #aspnetcore #blazor #datavirtualization #blazortraining #carlfranklin #blazortrain
⏱ Timeline ⏱
00:00 Intro
01:13 Create ASP.NET Core Web API Project
01:50 Secure the WebAPI App
04:35 Create new Azure AD B2C Tenant
06:48 Register a new application
08:05 Add the Web platform
09:07 Add a new client secret
09:38 Add a new scope (Expose an API)
10:41 Add the scope (API Permissions)
11:37 Add the publisher domain (Branding and Properties) to config
11:54 Set Instance value in config
12:13 Publish the API App to Azure
13:33 Configure the Microsoft Identity Provider
14:15 Create a User Flow for Sign Up and Sign In
15:27 Test User Flow by running it in the portal
16:20 Add a new Blazor Server project to the solution
16:47 Add nuget package Microsoft.Identity.Client
17:02 Add classes: Settings, NestedSettings, and Extensions
17:58 Create MsalClient folder and add IPCAWrapper, PCAWrapper, and PlatformConfig classes
19:39 Register IPCAWrapper as a singleton
22:43 Run the app, try to fetch data without logging in - no result
24:04 Log in
24:26 Try fetching data again, and it works
24:38 Summary
25:04 Outtro
🔗 Download Files 🔗
🚀 Get Started Today – Free 30 Day Trial 🚀
✅ Pricing and Online Demos ✅
🆘 We Are Here to Help 🆘
👍 Follow DevExpress on Social Media 👍
🏁 Review Customer Testimonials 🏁
#DevExpress #devexpress_blazor #devexpress_web #aspnet #aspnetcore #blazor #datavirtualization #blazortraining #carlfranklin #blazortrain
Комментарии