-
Notifications
You must be signed in to change notification settings - Fork 5
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
#164198183 Social authentication #24
Conversation
- write unit test - write integration test - install passport - install passport strategy for facebook, twitter and google - configure passport and passport strategies [Finish #164198183]
4a47178
to
a66c80d
Compare
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.
LGTM
@Andraquin , You have failing tests and builds |
Hi @Andraquin If there's a Passport strategy for medium.com please add it. cc @aanchirinah |
357526a
to
4decc7e
Compare
4decc7e
to
9e87d00
Compare
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.
Nice work. Check, the eslinting, and your jsdoc in the controller, auth.js, then you could rename your controller to authController.js
- rename controllers/auth.js to controllers.authController.js - document api endpoint using swagger [Finish #164198183]
@davdwhyte87 Thank you, I have attended to the above mentioned |
Hi, @jomadoye there is no passport strategy for medium.com |
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.
LGTM
@aanchirinah, I have it fixed now |
What does this PR do?
It enables social authentication using facebook, twitter and google
Description of Task to be completed?
How should this be manually tested?
git clone https://github.com/andela/apollo-ah-backend.git
cd apollo-ah-backend
npm install
to install all dependencies..env
file using the.env.example
api/v1/auth/facebook
to authenticate with facebookapi/v1/auth/twitter
to authenticate with twitterapi/v1/auth/google
to authenticate with googleAny background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
#164198183
Screenshots (if appropriate)
Questions: