Рет қаралды 5,003
In this episode Stacy Cashmore dives into authentication in Azure Static Web Apps. She will show you how configure a SWA to make use of the built-in authentication providers on the frontend and the backend. Additionally she will show you how to test SWA authentication in your inner development loop using the SWA CLI and how to configure roles for users in an SWA hosted in Azure.
Here a link to the repo with the demo code:
github.com/Sta...
Check out Stacy's blog:
stacy-clouds.net/
Also check out the following useful SWA links:
Quotas: docs.microsoft...
Authentication: docs.microsoft...
Anthony Chu Authentication Provider: github.com/ant...
00:00:10 - General introduction
00:01:51 - Static Web Apps (SWA)
00:03:07 - SWA Authentication
00:04:13 - Sample application introduction
00:04:48 - Authentication providers
00:05:30 - Login with a Twitter account
00:06:54 - Get information about the logged in user
00:08:42 - Test authentication locally in your inner development loop
00:14:19 - Use SWA authentication in the application frontend
00:19:43 - Use SWA authentication in the application backend
00:21:26 - Restrict access to resources based on certain roles
00:26:05 - Restrict the available authentication providers
00:27:24 - Assign roles to users in an Azure hosted SWA
00:30:58 - Wrap up
This video was made possible by Info Support (www.infosuppor...) and DotNed, the Dutch .NET Usergroup (www.dotned.nl).
--