Implemented Single Sign On (Connect XF with XF, WordPress, etc)

Alpha1

Well-known member
It would be really awesome if we would be able to connect multiple XF installs. Or a XF install with Wordpress, Magento, MediaWiki, etc.
Members would be able to use multiple sites and scripts with the same login or while they keep being logged in.

XF 2.1 has a REST API. Please extend this to OAuth (Open Authentication)

Remarks from the REST API suggestion thread:
- Remote user authentication by calling direct to the authentication system without having to reload or redirect people

There is still no outside script that can say "Log this user into XenForo". All the APIs I've seen require you to pass the login/email and password. Well, what if I don't have/store their password? Or what if I don't want to store the user's password in XenForo's database? What if I don't want to send that information across a domain? I should be able to have an outside script just TELL XenForo "user with e-mail address X should now be considered logged in!"

If you want to read just how painful it currently is to integrate XenForo with a third-party script that will be handling all the authentication, read here:
https://xenforo.com/community/threads/login-logout-register-from-outside-xenforo.65878/#post-709906
I can only imagine the explosion of apps and third-party integrations that would be released...

It would be so cool to see what gets built. And OAuth authentication... ah, the possibilities!
 
Upvote 346
This suggestion has been implemented. Votes are no longer accepted.
What specifically are you trying to get out of an XF - WP integration? I am finding more use cases the plugin covers all of the time and would love to hear your feedback. :)
@Mangini Right now I am running a Xenforo installation with WP. Xenforo handles all user accounts. I managed to fix up the Themehouse Multi-site XPress Forum User Bridge simple free bridge to work although it doesn't annoyingly upgrade a user on WP when there's a Xenforo user upgrade. With some coding changes to the XPress Forum User Bridge, I also managed to get it to work with the Xenforo Multisite addon. Effectively you end up with multiple WP sites all hooking into one Xenforo user database which handles registration, logins, account upgrades etc. You then end up with one global account system for your brand.

We were not bothered about having WP posts being posted into the forums do it seemed an easy solution that kind of works with some messing around with WP and some useful additional plugins to handle logins and user upgrades.
 
I think, with over 300 votes they don't ignore it. And i hope some stuff come with XF 2.3 or when they are bad boys with 3.x - but its a realy often asked feature wish and a real good Xenforo-Wordpress bridge (or what ever) can be boost for Xenforo.

I use at the moment the bridge from xfrocks to binding a Wordpress at a Xenforo to have a good photo contest. In Xenforo is at the moment no real good contest addon so I have to use a Wordpress Plugin.
What I mean - such a Bridge can help to have a lot more functions combined with a Xenforo.

+1 and voted up :-)
 
It would be really awesome if we would be able to connect multiple XF installs. Or a XF install with Wordpress, Magento, MediaWiki, etc.
Members would be able to use multiple sites and scripts with the same login or while they keep being logged in.

XF 2.1 has a REST API. Please extend this to OAuth (Open Authentication)

Remarks from the REST API suggestion thread:
+1 but use Ory or SuperTokens (best self-hosted auth / SSO solutions)
 
Possible that there is some stuff coming with Xenforo 2.3.x - maybe at the end of this year as first beta? Nobody knows it exactly...
I'd be more interested in the devs just writing some documentation on how to integrate a standard auth or SSO service with XF. That will serve more people over more time. This solves the general case.
 
... but only for people they can code such things. ;-)

All non devs, lifes better with some options as core function in a next release I think. :)
 
Top Bottom