This repository contains a Blazor WebAssembly application implementing a simple Quiz manager secured by Auth0.
The implementation details are described in the following article: Securing Blazor WebAssembly Apps
Technology
This project uses the following technologies:
Running the Application
To run this project, follow these steps:
-
Clone this repository (
git clone https://github.com/auth0-blog/secure-blazor-wasm-quiz-manager.git
) -
Move to the
secure-blazor-wasm-quiz-manager/Client/wwwroot
folder in your machine and edit theappsettings.json
configuration file by filling the Auth0 required parameters -
Move to the
secure-blazor-wasm-quiz-manager/Server
folder in your machine and edit theappsettings.json
configuration file by filling the Auth0 required parameters -
Move to the root folder of the project and run the following command in a terminal window:
dotnet run --project Server
-
Now, point your browser to https://localhost:5001. You should be able to authenticate and access the application