Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
5.7k views
in Plugins by

how to move social login (eg.facebook login) to the login bar on front page,I think it's very good for users to login  ,can anyone tell me how to make it  out,thanks so much !

Q2A version: 1.62

1 Answer

0 votes
by
selected by
 
Best answer

Try the OpenLogin plugin. See the installation notes for details on how to enable it.

by
edited by
Hi! Thanks for your plugin! Can you help  me? I got this error in nginx error log:

[error] 10144#0: *20 FastCGI sent in stderr: "PHP message: PHP Warning:  file_get_contents(../qa-plugin/open-login/qa-open-login.css): failed to open stream: No such file or directory in /var/www/mydomain.com/qa-include/qa-base.php(510) : eval()'d code on line 75" while reading response header from upstream, client: x.x.x.x, server: www.mydomain,com, request: "POST /login?to=%3Fprovider%3DGoogle%26code%3D0 HTTP/1.1", upstream: "fastcgi://unix:/tmp/wwwpool.sock:", host: "www.mydomain.com", referrer: "http://www.mydomain.com/?provider=Google&code=0"

... so google openid login doesn't work. When I click "Login with Google" the browser just redirects me to http://www.mydomain.com/?provider=Google&code=0 and nothing happens.

File qa-open-login.css is in directory. Q2A ver 1.6.2
by
I solved my problem! Is there any way for plugin to check registered users' email before register for example google users?
by
@axpv, as an FYI, the plugin does check if the email address already exists when an user logs in with an external provider. However, a new account is still created, but the user is offered the possibility to merge the 2 accounts into one, through "My logins" page. Note: this is happening for non-admin users only. I hope this helps.
...