A simple Node.js application created to get information relevant to backend integrations using Google's social login system.
I assume you have Node.js installed in your machine, if you don't, do it.
Is recommended to read the official Google Social Login documentation before or while using this repository. But chill, it's just a friend's tip ๐, you can completely ignore it.
Replace the "content" attribute to your Google's project Client ID.
<meta name="google-signin-client_id" content="YOUR-CLIENT-ID-GOES-HERE">
Run the application's server (the server.js file) with the command bellow, and access your local host in the listening port.
node server.js
You can optionally change this port if you already have something running on it, just change the "port" constant on the server.js file
const port = 4000; //Ex: 9999
Then all you have to do is click on the "Login" button and then catch your info. ๐.
If you have issues related to the Google Social Login integration, i recommend again to read the docs on the "Recommendations" session.
Additionally, here's some valious tips
- Remember to add your localhost URL to the "Authorized JavaScript Origins" in your Google project, then restart your application, it should take some minutes to your permission error disappear.
- Feel free to open issues, or even pull requests to this repo. ๐