-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#164489784 Integrate login with Twitter and GitHub #20
Conversation
GetSocialTwitter( | ||
token, tokenSecret, profile, done | ||
); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected a newline before ')' function-paren-newline
async (token, tokenSecret, profile, done) => { | ||
GetSocialTwitter( | ||
token, tokenSecret, profile, done | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected newline before ')' function-paren-newline
callbackURL: process.env.TWITTER_CALLBACK, | ||
}, | ||
async (token, tokenSecret, profile, done) => { | ||
GetSocialTwitter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected newline after '(' function-paren-newline
* @author Jacques Nyilinkindi | ||
* @returns Twitter strategy | ||
*/ | ||
const Twitter = new TwitterStrategy({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected a newline after '(' function-paren-newline
892ad58
to
e2ecaee
Compare
GetSocialGithub( | ||
accessToken, refreshToken, profile, done | ||
); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected a newline before ')' function-paren-newline
async (accessToken, refreshToken, profile, done) => { | ||
GetSocialGithub( | ||
accessToken, refreshToken, profile, done | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected newline before ')' function-paren-newline
callbackURL: process.env.GITHUB_CALLBACK | ||
}, | ||
async (accessToken, refreshToken, profile, done) => { | ||
GetSocialGithub( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected newline after '(' function-paren-newline
* @author Jacques Nyilinkindi | ||
* @returns Github strategy | ||
*/ | ||
const Github = new GithubStrategy({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected a newline after '(' function-paren-newline
middlewares/callbackHandler.js
Outdated
* @returns { Object } user | ||
*/ | ||
const GetSocialGithub = async (accessToken, refreshToken, profile, done) => { | ||
console.log(profile); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement no-console
e5976b1
to
9cf09ac
Compare
async (token, tokenSecret, profile, done) => { | ||
GetSocialTwitter( | ||
token, tokenSecret, profile, done | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected newline before ')' function-paren-newline
callbackURL: process.env.TWITTER_CALLBACK, | ||
}, | ||
async (token, tokenSecret, profile, done) => { | ||
GetSocialTwitter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected newline after '(' function-paren-newline
async (accessToken, refreshToken, profile, done) => { | ||
GetSocialGithub( | ||
accessToken, refreshToken, profile, done | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected newline before ')' function-paren-newline
callbackURL: process.env.GITHUB_CALLBACK | ||
}, | ||
async (accessToken, refreshToken, profile, done) => { | ||
GetSocialGithub( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected newline after '(' function-paren-newline
9cf09ac
to
d5e3853
Compare
d5e3853
to
d061792
Compare
7e3293b
to
b4a69f2
Compare
df86222
to
c30abbb
Compare
|
||
|
||
app.use('/api/articles', articleRoutes); | ||
app.use('/api/users', user); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'user' is not defined no-undef
What does this PR do?
Description of Task to be completed?
How should this be manually tested?
Any background context you want to provide?
What are the relevant pivotal tracker stories?
164489784
Screenshots (if appropriate)
Questions: