Skip to content

Instantly share code, notes, and snippets.

@rantav
Created September 8, 2016 10:39
Show Gist options
  • Save rantav/dd33f6d9448e19b083f1e5b32b62a577 to your computer and use it in GitHub Desktop.
Save rantav/dd33f6d9448e19b083f1e5b32b62a577 to your computer and use it in GitHub Desktop.
how to populate github login token on server startup (meteor)
Meteor.startup(function () {
// sets up the github client service on your server
ServiceConfiguration.configurations.upsert(
{ service: "github" },
{ $set: { clientId: "<YOUR-CLIENT-ID-HERE>", secret: "<YOUR-CLIENT-SECRET-HERE>" } }
);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment