Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
658 views
in Q2A Core by
Hi,

I'm trying to implement Q2A using Single Sign On (SSO) but on seperate databases, based on what I have read I should be able to do it, but I cannot find any samples detailing how to configure the access to the 2 different databases ie the Q2A one and my user credentials one does anyone have any advice or samples on how to do this.

The "guide" for doing this only has examples and instructions for working with a shared DB.

 

Thanks

1 Answer

0 votes
by

I haven't done it myself but I think it's possible. In the various functions inside qa-external-users.php (e.g. qa_get_logged_in_user) you can make a new database connection and connect to a different database using PHP's mysql/mysqli functions instead of the built-in Q2A functions.

...