I am trying to use Google authentication for my react application, so when the page loads it opens a new tab where the user authenticates using his creds, once its valid i am using local storage to store the authentication as true and the tab closes since nothing is happening in the previous tab it won't know if the user has authenticated or not until refresh. So how can I refresh the page? Is there any way i can reload it?
2.1m questions
2.1m answers
60 comments
57.0k users