-
Notifications
You must be signed in to change notification settings - Fork 141
Integrating with Google
Paul Ionescu edited this page Jul 18, 2019
·
4 revisions
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 forgoogleSecret
- Run
encryptConfig.js
- Update the value for the
encGoogleClientSecret
variable inconfig.json
- Update the value for
googleClientId
inconfig.json