This project demonstrates how to secure a Blazor WebAssembly application with a standalone Identity Server instance and use it to acquire a token for a protected API.
Please refer to my article on Medium for more details.
Note: as any other Blazor WASM applications,
appsettings.json
must be placed in yourwwwroot
folder.
The only requirement in order to run the demo is making sure you run all the projects. My recommendation is to set it up in the solution options: