0

After I logout (using "oauth.logout()" ), I'm back at the login screen, but if I log in again, I come back at the page I was before I log out instead of the homepage of the application.

I'd like to come at the homepage every time I login instead of retrieving the previous navigation session.

To be clearer:

What I need:

Login > Homepage > Page 1 > Page 2 > click on Log out ----> Log in again > Homepage

What I get:

Login > Homepage > Page 1 > Page 2 > click on Log out ----> Log in again > Page 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.