How to get Google Client ID and Secret
- Log into Google developer console : http://console.developers.google.com/
- Create a new project
- Go to OAuth consent screen section
- Choose External and click CREATE
- Set the App information and the App domain, here I used http://localhost:4200/
- Enter other required information and click Save
- Next go to Credentials and Click CREATE CREDENTIALS (OAuth client ID)
- Choose Web Applocation for Application type and fill the other information
- After click CREATE you will get the Client ID and Secret