Demonstration code of basic Firebase authenticaion in Blazor WASM using MudBlazor
With this example, you can:
- Register
- Login
- See how to lock components off via
AuthorizeView
There is also some example validation to handle callbacks from Firebase when a error is thrown.
To run this project, you will need to add the following environment variables in wwwroot/appsettings.json
FirebaseApiKey
FirebaseAuthDomain
- firebaseauthentication.net 4.0.1
- microsoft.aspnetcore.components.webassembly 7.0.1
- microsoft.aspnetcore.components.webassembly.authentication 7.0.1
- microsoft.aspnetcore.components.webassembly.devserver 7.0.1
- mudblazor 6.4.1
This can easily be removed and turned back to stock blazor with boostrap 4. Just follow the mudblazor installation guide backwards.