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

Facebook auth with Socialite #150

Open
gultyayev opened this issue Sep 7, 2018 · 2 comments
Open

Facebook auth with Socialite #150

gultyayev opened this issue Sep 7, 2018 · 2 comments

Comments

@gultyayev
Copy link

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

@ronzeidman
Copy link
Owner

The code is sent in the json body of /auth/facebook under oauthData ({ ..., "oauthData": { "code": ,,, } })

@gultyayev
Copy link
Author

gultyayev commented Sep 7, 2018

@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

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

2 participants