ng2-ui-auth
ng2-ui-auth copied to clipboard
Facebook auth with Socialite
Please explain to me how do I sing in using Facebook and Laravel Socialite.
Socialite expects code
to be provided to callback. Where do I get it?
Also I've noticed that ng2-ui-auth tries to access some page on my SPA /auth/facebook
. I haven't specified it
The code is sent in the json body of /auth/facebook
under oauthData
({ ..., "oauthData": { "code":
@ronzeidman How do I send code
to my backend API so that I can authorize user using Socialite? I use subdomain for the API.
Actually the problem is(at least I see it so) is that I cannot redirect my token to backend. There is no redirectUrl