Right now I would like to know How I can limit access to application functions to users?
Ah, so after several posts we finally got to the actual use case...
The first step is learning Blazor authentication and authorization option. Next pick an approach that best fits your goals.
If you plan to stay with Duende IdentityServer then read the documentation and go through all the quick starts. The quick start are very good. Be aware, understanding how a token server (OAuth/OIDC) works takes effort.
There's also, the official ASP.NET Core Blazor authentication and authorization. The bottom of the previous link has resources which you should read.
The code I've provided gets you setup with the Identity API and Code First. From this point you can build a JWT authentication service using standard .NET tooling and Identity as user account store.
https://www.prowaretech.com/articles/current/blazor/wasm/jwt-authentication-simple#!
https://jasonwatmore.com/post/2020/08/13/blazor-webassembly-jwt-authentication-example-tutorial
Last option I can think of is scaffolding Identity and hosting the Razor pages on server application. you still need to read the ASP.NET Core Blazor authentication and authorization so you understand how to handle the authentication cookie in Blazor.