Google People APIΒΆ

Requirements

  • Google account

Access to google account and go to https://console.developers.google.com/apis/dashboard

Create a new project.

../../../../_images/googleapi1.png

Select the option new project.

../../../../_images/googleapi2.png

Assign a name and create.

../../../../_images/googleapi3.png

Select the control panel tab and choose the option Go to general view for API.

../../../../_images/googleapi4.png

Select to option enable APIS and services

../../../../_images/googleapi5.png

Search and select Google People API.

../../../../_images/googleapi6.png

Enable this API.

../../../../_images/googleapi7.png

Is possible to need new credentials, so create it.

../../../../_images/googleapi8.png
  • 1 Choose people API
  • 2 Choose Web Server
  • Select the the option credentials needed
../../../../_images/googleapi9.png
  • Use the name of your preference.
  • Domain where the captive portal resides
  • Callback URL
  • Select the option create ID for OAuth 2.0
../../../../_images/googleapi10.png

Insert a username and select continue.

../../../../_images/googleapi11.png

Client ID was created, for obtain it in json format click on download.

../../../../_images/googleapi12.png

Copy the json content into file google-people.json path /usr/share/opennac/api/application/configs/google-auth access by CLI.

Vim /usr/share/opennac/api/application/configs/google-auth/google-people.json