feathersjs/docs

Comment: Facebook (cookbook/authentication/facebook.md)

sizmamani opened this issue · 1 comments

Comment/Problem

I follow this and its working just fine for my web application. now the problem is a new project with ReactNative using facebook sdk and there would be no redirect (url) option.
I am able to get facebook access_token, how may I authenticate user with this token?

daffl commented

See the Flow section in the API:

With an existing access token, e.g. obtained through the Facebook mobile SDK

Authenticate normally with

app.service('authentication').create({
  strategy: '<name>',
  access_token: 'oauth access token'
})