Closed nonumpa closed 3 years ago
Can IG users login directly using FB?
Maybe no. They always ask user to link IG and FB account together. I think if a IG user doesn't link FB, (s)he can't use Facebook login.
Facebook says that my app review will be rejected if we use it to authenticate user.
Then we should add share (article/reply) to Instagram function to pass the review :p
Deployed to staging. https://dev-api.cofacts.org/callback/google should work.
Fixes #234
Should reload db schema first.
Google sign-in
Use passport-google-oauth2
To get google OAuth credential
Web client
and addPUBLIC_URL/callback/google
toAuthorized redirect URIs
Client ID
andClient secret
to envInstagram sign-in
Use passport-instagram-graph. (passport-instagram is out-of-date.)
To get Instagram OAuth credential
PUBLIC_URL/callback/instagram
toValid OAuth Redirect URIs
Client ID
andClient secret
to envTester should approve invitation here.
Should submit your app for App Review when you are ready to switch it to Live Mode.