Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+5 votes
in Q2A Core by
retagged by
Hi guys, I need your help

I have a q2a website. I'd like to create one more with single-sign-on.  So that users don't have to register two times.

I've tried to do as it was written here:http://www.question2answer.org/single-sign-on.php

But seems that it's not what i'm looking for...

In other words how to have single qa_users for  several websites
Q2A version: 1.7b

2 Answers

+4 votes
selected by
It works, thanks very much.  but one more question
It shows this error if i ask a question:
A Question2Answer database query failed when generating this page.
A full description of the failure is available in the web server's error log file.

There's not any description in error log though, I can't find any solution for this
+3 votes
edited by

If you do not want to share your DB with the WordPress installation, you can use one more WordPress installation as a single sign-on server.


For us,

We have

https:// publicityport . com (WordPress)

https:// softwaretestingboard . com (WordPress MultiSite)

https:// softwaretestingboard . com/qna (Question2Answer)

https://digitalmarketing.q2a.io (Question2Answer)

All four site can connect to one common server (SSO), https:// myaccount. publicityport .com to get the user authorized.

So, users do not really have to create a separate account for all sites. 

For, WordPress you can create a single sign-on client. And for Q2A, you can use the plugin, https://github.com/PublicityPort/q2a-publicityport-login

Well, that's not how SSO works. SSO server never update any database. SSO server just authorize the user and supply it's identity to the asking party, i.e. your site.
You can read this article to know more about SSO server http://searchsecurity.techtarget.com/definition/single-sign-on
I know about that. you need to think about if some site owner discontinues service then how to transfer user credentials, without asking all users to reset password.

Also any user authentication delay from your site will cause issue for q2a site. I hope it is running on good server.
Thank you for your input. We will certainly look into the possibilities.

I understand your concern about the delays, our sites are running through cloud flare infrastructure. We have not received any single complaint about downtime.