Skip to content

Instantly share code, notes, and snippets.

@spencercarli
Created March 9, 2016 01:33
Show Gist options
  • Select an option

  • Save spencercarli/b72d9c3e327a45beefc9 to your computer and use it in GitHub Desktop.

Select an option

Save spencercarli/b72d9c3e327a45beefc9 to your computer and use it in GitHub Desktop.
Setting up the Meteor Server - google-oauth.js
// MeteorApp/server/google-oauth.js
const settings = Meteor.settings.google;
if (settings) {
ServiceConfiguration.configurations.remove({
service: 'google'
});
ServiceConfiguration.configurations.insert({
service: 'google',
clientId: settings.clientId,
secret: settings.secret
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment