Skip to content
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

How can i authenticate against Facebook when i already have the access_token? #10

Open
francisykl opened this issue Feb 23, 2016 · 4 comments

Comments

@francisykl
Copy link

I have a use case where user shall be able to login via mobile(native) facebook app. Facebook iOS sdk will provide the access tokens. How can i authenticate the users via Facebook without again going to facebook to get the user into session?

@jurienhamaker
Copy link

+1

2 similar comments
@enricodeleo
Copy link

+1

@Brunoalcau
Copy link

+1

@ncnxx
Copy link

ncnxx commented Aug 6, 2017

You need to utilize other library like "passport-facebook-token" which will pass the access token to the Facebook server and authenticate the request. However, to prevent incompatibility among dependencies, you could do that yourself just accepting the access token, pass it to Facebook yourself and handle the session if the authentication success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants