Fortinet black logo

Cookbook

Configuring the Google+ developer account API

Copy Link
Copy Doc ID 53d09085-7746-11e9-81a4-00505692583a:520660
Download PDF

Configuring the Google+ developer account API

  1. Open a browser and log in to your Google account.
  2. Browse to the following URL:

    https://console.developers.google.com

    Under Select a project, select Create a project.

  3. Enter a Project name, and accept the Terms of Service before continuing.
  4. Go to APIs & auth > Credentials and select OAuth 2.0 client ID from the Add credentials drop-down.
  5. When prompted, select Configure consent screen. Enter an Email address and Product name. You must now create the client ID.
  6. Set Application type to Web application. Under Authorized JavaScript origins, enter the FortiAuthenticator FQDN.
  7. Under Authorized redirect URIs, enter the following:

    https://fortiauthenticator.example.com/social/complete/google-oauth2/

    Note that the FortiAuthenticator needs to be able to access the Internet.

  8. Upon creating the client ID, a window will appear with your client ID and client secret.
  9. Take note of the client ID and client secret as they are required when configuring the captive portal on the FortiAuthenticator.

    The client ID and client secret can be accessed at any time on the Google developer account, but it may be a good idea to copy them to a secure location.

  10. Go to APIs & auth > APIs > Social APIs, and select Google+ API.
  11. Enable the API.

Configuring the Google+ developer account API

  1. Open a browser and log in to your Google account.
  2. Browse to the following URL:

    https://console.developers.google.com

    Under Select a project, select Create a project.

  3. Enter a Project name, and accept the Terms of Service before continuing.
  4. Go to APIs & auth > Credentials and select OAuth 2.0 client ID from the Add credentials drop-down.
  5. When prompted, select Configure consent screen. Enter an Email address and Product name. You must now create the client ID.
  6. Set Application type to Web application. Under Authorized JavaScript origins, enter the FortiAuthenticator FQDN.
  7. Under Authorized redirect URIs, enter the following:

    https://fortiauthenticator.example.com/social/complete/google-oauth2/

    Note that the FortiAuthenticator needs to be able to access the Internet.

  8. Upon creating the client ID, a window will appear with your client ID and client secret.
  9. Take note of the client ID and client secret as they are required when configuring the captive portal on the FortiAuthenticator.

    The client ID and client secret can be accessed at any time on the Google developer account, but it may be a good idea to copy them to a secure location.

  10. Go to APIs & auth > APIs > Social APIs, and select Google+ API.
  11. Enable the API.