Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 732 Bytes

Integrating-with-Google.md

File metadata and controls

12 lines (9 loc) · 732 Bytes

You will need a Google developer account and obtain the OAuth credentials from the Google API console: https://console.developers.google.com

In the same place you will setup your domain and authorized redirect URIs. For example for a localhost setup the redirect url would be: http://localhost:8081/public/google/callback

NOTE:

Everyone with a Google account will be able to login to your app unless you setup IP restrictions.

Once you have the OAuth credentials configure the training portal as follows:

  • Edit encryptConfigs.js and set the value for googleSecret
  • Run encryptConfig.js
  • Update the value for the encGoogleClientSecret variable in config.json
  • Update the value for googleClientId in config.json