-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Response code never returned #10
Comments
Same Here |
create the
|
@diadal Could you put that you must redirect back to the same domain as the UI in the README? |
Solved with this |
but it didn't help me |
I'm trying to login with facebook.
i added this code to Controller. the redirect occurs, but the authorization dialog does not close and when the dialog is forced to close, an error occurs in the console debugging output I did via console.log in this vue function
|
i added console.log code to index.js in this component and got a new error when i try to close the dialog |
you need to add/whitelit the allowed URL in your facebook app |
my problem is solved. my server architecture uses a load balancer. on the main server, the site works via http and on the balancer via https. the backend runs on lumen and accesses social networks via the http protocol. The problem was solved by setting a trusted proxy for lumen. also in the SocialLogin function of the controller, I disabled the redirect to /auth/:provider/callback and replaced it with returning an array of data ({u=>user}) and everything worked |
Bug
When I try to use the social auth with google, it opens a popup but it redirects to the redirect URI in the popup but never closes the popup or returns the response from where I'm trying to log in
The text was updated successfully, but these errors were encountered: