If I run the following code when the identity server is running it functions as expected; I am asked to login when attempting to access the protected dashboard route.
However, if the identity server is not running, there is no error in the console and the browser simply allows the client to access the protected route.
If I run the following code when the identity server is running it functions as expected; I am asked to login when attempting to access the protected dashboard route.
However, if the identity server is not running, there is no error in the console and the browser simply allows the client to access the protected route.
Am I doing something wrong here or is this a bug?
Thanks