Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Authentication should remember your previous page #11
When logging in to the website, upon returning from the OAuth flow, the site should return you to the page you were on when you triggered the login process. The same should apply for logging out, where once the session is cleared it should take you back to the page you were on before (unless it requires auth -- this can either send them to the homepage or back into the login process).
Convenience factor if someone directly navigates to a page that requires auth, they'd like to end up back there once they've logged in instead of on the homepage. The same thing for logging out, they'd like to be able to remain on their current page, not thrown back to the homepage.