Answer the question
In order to leave comments, you need to log in
How to remove the ability to return to the previous page after authentication (Google, FB, Twitter)?
Made a simple integration of Facebook, Twitter, Google using Passport for the node.
And I observe a not very pleasant experience - after a successful login, if the user presses Back in the browser (return to the previous page), then errors will pop up for him.
1. How to competently manage these routes? Node, Express, Passport
2. How to remove the ability to return to the previous page when the user has passed authentication (can clean the headers or the like - no idea).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question