Redirect back to section or page after login


I think it would be a nice user experience if you could redirect back to the section or page you were reading after login.

For example, when reading an article you come to the section that is no longer in the public preview. After signing in (to get access to that private section), you should be redirected back to that area.


I appreciate this feature on sites that offer it. It can be done by storing the current URL in the session when the login flow starts. Then when login is complete, redirect back to the URL stored in the session.