File tree Expand file tree Collapse file tree 7 files changed +28
-5
lines changed
Expand file tree Collapse file tree 7 files changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ vulcan:i18n-en-us
1111accounts-password@1.5.1
1212# accounts-twitter
1313# accounts-facebook
14+ accounts-github
1415
1516############ Your Packages ############
1617
1718example-forum
1819
20+ service-configuration
Original file line number Diff line number Diff line change 11accounts-base@1.4.2
2+ accounts-github@1.4.1
3+ accounts-oauth@1.1.15
24accounts-password@1.5.1
35allow-deny@1.1.0
46autoupdate@1.4.0
@@ -31,6 +33,7 @@ es5-shim@4.8.0
3133example-forum@1.12.8
3234fourseven:scss@4.5.4
3335geojson-utils@1.0.10
36+ github-oauth@1.2.1
3437hot-code-push@1.0.4
3538html-tools@1.0.11
3639htmljs@1.0.11
@@ -52,6 +55,8 @@ mongo-dev-server@1.1.0
5255mongo-id@1.0.7
5356npm-bcrypt@0.9.3
5457npm-mongo@3.0.11
58+ oauth@1.2.3
59+ oauth2@1.2.0
5560ordered-dict@1.1.0
5661percolatestudio:synced-cron@1.1.0
5762promise@0.11.1
Original file line number Diff line number Diff line change @@ -4,3 +4,9 @@ Users.avatar.setOptions({
44 'gravatarDefault' : 'mm' ,
55 'defaultImageUrl' : 'http://www.gravatar.com/avatar/00000000000000000000000000000000?d=mm&f=y'
66} ) ;
7+
8+ Accounts . ui . config ( {
9+ requestPermissions : {
10+ github : [ 'read:user' , 'user:email' ]
11+ }
12+ } )
Original file line number Diff line number Diff line change 1+ ServiceConfiguration . configurations . upsert (
2+ { service : 'github' } ,
3+ {
4+ $set : {
5+ clientId : Meteor . settings . oAuth . github . clientId ,
6+ secret : Meteor . settings . oAuth . github . secret
7+ }
8+ }
9+ )
Original file line number Diff line number Diff line change @@ -18,4 +18,5 @@ import './categories/index.js';
1818import './posts/index.js' ;
1919
2020import './api.js' ;
21- import './rss.js' ;
21+ import './rss.js' ;
22+ import './config.js' ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Package.onUse(function (api) {
1313
1414 'promise' ,
1515 'fourseven:scss@4.5.0' ,
16-
16+ 'service-configuration@1.0.11' ,
1717 // vulcan core
1818 'vulcan:core@1.12.8' ,
1919
You can’t perform that action at this time.
0 commit comments