How to prevent user from access my web application without login blazor ?
I work on blazor server side . i face issue i can't redirect user to login page when he try to access web application my scenario as below : 1-i open my web application as www.union.com .
2-it open login page as first page
3-i make login it log successfully then it open dashboard page after login success as www.union.com/Dashboard/AElaziz
AElaziz is user name
4-i copy this link and open new page on google chrome and past it then run page
it open dashboard without login
so How to prevent this behaviour form happen on blazor server side ?
also if there are easy solution without without using identity please provide me