File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,13 @@ module.exports = {
6767 var callbackURL = config . hostname + '/auth/github/callback' ;
6868
6969 passport . use ( new GithubStrategy ( {
70- clientID : config . appId
71- clientSecret : config . appSecret
72- callbackURL : callbackURL
73- authorizationURL : config . apiDomain + '/login/oauth/authorize'
74- tokenURL : config . apiDomain + '/login/oauth/access_token'
75- userProfileURL : config . apiEndpoint + '/user'
76- scope : [ 'repo' ]
70+ clientID : config . appId ,
71+ clientSecret : config . appSecret ,
72+ callbackURL : callbackURL ,
73+ authorizationURL : config . apiDomain + '/login/oauth/authorize' ,
74+ tokenURL : config . apiDomain + '/login/oauth/access_token' ,
75+ userProfileURL : config . apiEndpoint + '/user' ,
76+ scope : [ 'repo' ] ,
7777 passReqToCallback : true
7878 } , validateAuth ) ) ;
7979 } ,
You can’t perform that action at this time.
0 commit comments