-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up Google People OAUTH2 service
eduard valera i zorita edited this page Sep 19, 2018
·
6 revisions
Log in to Google and access this link: Google dev console - Register APP to People API
- If no project has been created previously, select "Create new Project".
- Click continue, this will create a project with a random name and redirect to the API console.
- Log in to Google APIs & Services.
- Select the project registered in step 1.
- Open the "Credentials" section.
- Set the following config:
API: People API
Calling from: Web server (node.js, ...)
Data: User data
- Define Javascript origin and redirect (for development):
origin: http://nucleotid-dev.com:3000/login/google
redirect: http://nucleotid-dev.com:3000/login/google/return
- Enable Google+ API in Google API library.
- Get
Client ID
andClient secret
keys, copy them ininfo/node-env
.