September 2018
Beginner
156 pages
3h 28m
English
When you try to access a protected <Route>, you will be redirected to the login page to provide credentials. After providing credentials, you should be redirected to the page that you tried to access earlier. For example, when you try to access the protected route at the path /stocks, you would be redirected to the path /login, and then, on providing correct credentials, you should be redirected to the same path /stocks that you tried to access earlier. However, from the previous example, you would be redirected to the path /user and the user's profile information would be displayed. The desired behavior is to be redirected to the protected route /stocks instead of the path /user.
This can be accomplished ...
Read now
Unlock full access