ahmed salah

ahmed salah

  • 1.1k
  • 547
  • 51.8k

Issue user can access my web application without success login user na

Apr 7 2023 3:34 AM

I work on blazor server side . I face issue I can't make user redirect to login page

when user try to access web application by copy and past URL of my application on new browser page

my scenario as below :

1-I open my web application as

2-it open login page as first page when connect to site

3-I make login with user name and password it log in successfully without using identity then it open dashboard page after login success as 

4-I copy link and open it on new page browser and past it then run page

it open dashboard without make login to my web application

so How to prevent this behavior form happen on blazor server side with easy way if possible?


Answers (1)