Created
September 8, 2016 10:39
-
-
Save rantav/dd33f6d9448e19b083f1e5b32b62a577 to your computer and use it in GitHub Desktop.
how to populate github login token on server startup (meteor)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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