D
D
devoptsmfk2018-02-07 13:15:03
Angular
devoptsmfk, 2018-02-07 13:15:03

How to implement ionic app login via facebook?

api works on laravel
laravel has a socialite library, how can it be linked to the api front?
Can you recommend articles

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SteepZero, 2018-02-07
@SteepZero

I made an application on Cordova with authorization through social networks. networks
All OAuth had to be done on the application side (in the web view), receive tokens and then send them to my server
I don’t remember exactly, but it seems that the problem is in the callback addresses.
If you log in through the server, you need to open a new webview with the server domain on the application this is a lot, because the social network itself is still loading.
Therefore, I set callbacks on localhost and caught tokens in the application

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question