Fetch User information using google oauth

I'm trying to implement google oauth and after the popup, I get back to the same page and required information in localstorage, how do I fetch the userinfo from localhost as it doesn't have any name
Was this page helpful?