I am working with the Blazor Web Assembly Project with Individual user account (Identity server) based login/ logout. I have not configured a custom token it's just a basic Blazor app with individual accounts.
So, the project default structure was created like this:-
Blazor Client, Blazor Server, Blazor Shared
How to achieve session timeout of the user and make it configurable. For example, if the default timeout is 1 minute then the admin user should be able to set it to 2 minutes or any other preferred timeout.
Requirements:
- If the user does not perform any action on the page then the session timeout. (This may include mouse scroll or any event.)
OR
- If the user does not perform any server call then only timeout.