Creating google web application credentials
Before using google login api, let start to find out how to create web application credentials. Read this tutorial and follow these steps below.
Step 1: Go to https://console.developers.google.com/apis
Step 2: Select Create project
Step 3: Enter project name, click Create.
Step 4: When creating success, select Google+ API on APIs list.
Step 5: Click ENABLE
Step 6: Click Create credentials.
Step 6: Choose Google+ API, Web server click What credentials do i need?.
Step 7: Enter product name, click Continue.
Step 8: Entern your url and your callback url. (callback url is the one that hode code from google api, that would earn token to login)
Step 9: Click Done to finnish.
Step 10: When creating success, note your client secret and client id or download JSON file.
Go to next tutorial to get through google login