I was learning to make login page for web pages in NodeJS. I tried to make the login possible via Google Id as it comes in sites like flipkart or others. It worked in Localhost ,But when I deployed it on heroku it is not working.I changed the fields as shown in picture from http://localhost:3000 to the domain of my project I got from heroku.
If someone knows to how to fix it please help me…
github repo- GitHub - kitarp29/Secrets: This Webpage lets user Register via thier Mail ids and password, later they can log in with thier crediantels.Uses cookies to keep the user loggedin in .The crediantels are stored safe in the Database after being Hashed and Salted for protection and privacy .
site link -https://aqueous-ravine-15860.herokuapp.com/
The error I get is this -