passport-facebook Questions

3

I am kind of new to Node.js development and currently working on a pet project on my free time. So far I have created JWT authentication using passport and passport-jwt for the strategy and I am u...
Franconia asked 21/4, 2016 at 14:51

10

I am implementing Passport Facebook Authentication by linking the Facebook Authentication API route to a button using href like: <a href="auth/facebook">Facebook Login</a> When I cl...
Dardanelles asked 21/3, 2018 at 10:23

3

I get this error when a user attempts to log in via facebook. My application uses express. FacebookTokenError: Error validating client secret. at Strategy.parseErrorResponse (/pathtomyapp/node_mo...
Garrity asked 22/6, 2014 at 19:53

2

How do i pass some dynamic params in the facebook login callback url? I have different types of users (differentiated by a 'type' param) signing up using facebook login. I have created a facebook ...
Cardsharp asked 14/7, 2019 at 11:2

2

Solved

I have looked into both passport-facebook and passport-facebook-token integration with NestJS. The problem is that NestJS abstracts passport implementation with its own utilities such as AuthGuard....

2

Solved

I am unable to locate all possible scope options in passport for facebook and google. Could anyone mention all possible scope option/values that we could pass during authentication for facebook and...

5

Solved

I am able to retrieve basic user information via passport-facebook, following the below code and saving in mongodb: app.get("/auth/facebook", passport.authenticate("facebook", { scope : ["email", ...
Shiksa asked 18/11, 2013 at 4:13

1

Before Asking this Question I have referred the below but didn't help me Passport.js & Facebook Graph API Retrieving photo from Facebook using passport-facebook https://www.hitchhq.com/faceb...
Strophanthus asked 26/1, 2018 at 17:50

7

I am using Passport-Facebook authentication. passport.use(new FacebookStrategy({ clientID: 'CLIENT_ID', clientSecret: 'CLIENT_SECRET', callbackURL: "http://www.example.com/auth/facebook/callb...
Garrick asked 5/4, 2014 at 12:26

5

Solved

I am creating an Android/iOS app which communicates with a Node.js server and would like to identify them securely on my server using Google (and/or Facebook) and OAuth2. I've looked at the followi...
Fork asked 17/12, 2014 at 22:39

3

Solved

I've been using Passport on my server for user authentication. When a user is signing in locally (using a username and password), the server sends them a JWT which is stored in localstorage, and i...
Blackboard asked 28/2, 2017 at 12:20

3

It's been two days and a million tries to enable CORS when trying to authenticate a user with Facebook using Passport in NodeJS/Express. The error I get on Chrome is this: XMLHttpRequest cannot l...
Plaided asked 25/9, 2014 at 2:39

1

I am using passport-facebook and express-session for storing sessions of users on the server side. The session is getting stored in mongo,and cookie is also getting set in browser,but req.isAuthent...

4

So far I have only dealt with server-rendered apps, where after a user logs in via username/password or using an OAuth provider (Facebook etc.), the server just sets a session cookie while redirect...
Kirstinkirstyn asked 2/2, 2017 at 7:12

2

I've authenticated my user with the Facebook strategy and obtained their user info. My application now needs to hit other graph api endpoints on Facebook. I don't see a way to access a tool to send...

3

Solved

some of the profile fields i am trying to get from Facebook when logging in a user, are not going through. I am using passportjs in node. this is the facebook strategy: passport.use(new FacebookS...
Kerrin asked 8/12, 2013 at 19:22

3

I am trying to add facebook login feature for my web app. Which is being developed in express js, mongodb and angular 2. Client part of the app is generated through angular-cli (which is running o...
Laxity asked 3/1, 2017 at 19:5

6

Solved

I am trying this git example. Which works well when I integrated it with my project, but what I want to achieve is to send json as a response to the client/request, instead of successRedirect : '/...
Speciosity asked 24/6, 2014 at 8:55

0

I have a client server and an API, both using Apollo. When the user logs in with Facebook I want to send a token to my client server which will then be appended to the headers of every request made...
Sapers asked 12/12, 2016 at 22:33

2

I am using Meanjs.org boilerplate and Facebook Signup returns me to the Signup page. Following are the steps that I have taken so far. 1) Setting up the Facebook App Site URL http://localhost:3...
Adaminah asked 6/8, 2015 at 15:49

1

Solved

I am developing a MEAN application. I am using passport for authentication- local, facebook and google strategies. I am using angularjs client. All the routing is handled at client. I am only con...
Common asked 12/1, 2016 at 14:21

1

I am using passport-facebook to login in a MEAN stack webapp. After successful login, I want to generate a JSON Web Token (jwt) and redirect to a page in my SPA. (res.redirect('/#/posts/'+ doc.gene...
Sticktight asked 24/9, 2015 at 20:14

3

Solved

I have already implemented the Facebook-LogIn in my website with express js and passport-Facebook. It works well (I get field profile), but the problem is that I don't get the Email. I get an...
Trover asked 14/9, 2014 at 11:32

2

Solved

I have a ExpressJS app that is using Passportjs to authenticate with Facebook and everything is working as expected exception for one issue. I have vehicle.js under /routes/ which contains some r...
Subjunction asked 14/12, 2015 at 22:24

1

I have a mobile app that is working with the backend server, I would like to understand what are the best practices for using facebook to login (create an account) and then to maintain the whole sy...
Complicity asked 8/5, 2014 at 6:9

© 2022 - 2024 — McMap. All rights reserved.