Support Topics Documentation Slack YouTube Blog

Facebook short lived Authorization Code Login


(Odhiambo George) #1

Is backendless able to receive a short lived Authorization Code say from Facebook and use it to query Facebook for a valid Access Token that it can use to get user details for registration/login?

With backendless Facebook login, it receives the Access Token directly from the client.

I am trying to avoid working with the long lived Access Token on the client side.

Based on REST Api.

Regards,
George


(Sergey Kukurudzyak) #2

Hello,

please check out documentation https://backendless.com/docs/rest/doc.html#users_facebook_login
Backendless do not request any user token from Facebook. It is responsibility of the client to request it from Facebook and then requests backendless with user token to receive a backendless user.