[Suggestion] Please implement OpenID

I was thinking about running an OpenID/OAuth server in the background for SSO between confluence, custom apps, XF, & WP. If anyone has any better ideas for SSO (other than LDAP), I'm all ears. Until then I have a very strong feature request for something like OpenID.
 
We use our own openid server, it has very little to do with facebook or twitter.
We run 4 platforms, that need to appear as one, OPENID, or OAUTH are the way to go.
If Xenforo would allow for OPENID (I am not so smart to write my own) it would be awesome!
 
This is a really old suggestion, but as XenForo 2.3 implements an OAuth Provider it would be really nice if it could also support OpenID Connect - this would allow any OIDC consumer to easily connect to XenForo.

The base OAuth 2.0 intrastructure is already there, so implemnting OIDC on top of that probably should not be that complicated.
 
haha carlos. you are missing the point here!

integration with facebook, twitter, openid, google accounts is not just about social networking.

it is about making it easy for new visitors to create an account as quickly as possible to start posting.

forum registration forms tend to be very complicated. these third party service makes it much faster as the user can just approve the connectivity, and you get access to their name/email address automatically.

the validation is also no longer required because these accounts are already validated.

when i landed here on this forum, i created my account within a matter of seconds using FB integration. i did not even have to pick a password.

i have personally found out that vb fb integration resulted in more new members joining the forum. because it is just easier to join it!
May I ask of your thoughts in hindsight?
 
I wholly agree with Kirby's post here. There is, after a long wait and much demand, finally an OAuth2 authorization framework implementation in place. I never gave it a look till now as I didn't need to implement an SSO with XenForo as an identity provider, but now I need to do so.

The current OAuth2 implementation doesn't seem to cover the authentication aspect of the users (XF as an IdP) towards a 3rd party. I couldn't find ANY documentation regarding this. It stands to reason why (in this time with all kinds of security breaches going on) they just didn't include OIDC at the same time as well. 99/100 times you need authentication as well. If you'd do it securely (or as secure as possible) at this moment in time, you'll gonna need to implement your own layer on top of OAuth2. This is something that really is a no-no for 99/100 developers as it is really complex, unless you're a security specialist (and even then...).

As there are so many good libraries available, it shouldn't be very hard to implement this as the backbone is already in place. There is another post here that says that XF relies on an old/outdated package for it's current OAuth structure. I can't confirm that (yet), because I haven't looked at that part of the code. However, if that is the case... Dear XF, please consider switching to one of the phpleague OAuth packages as they are among the best available in PHP country.

I'll probably get canned for this, but I'll have to say this regardless (with all respect and right intentions, mind!)... To hopefully get a response I'll include a reference to @Chris D here as I really think this needs some more looking at and he published said article. I have difficulties with XenForo justifying the claims made in their corresponding OAuth2 HYS thread where they state that with this, as it is, you can provide SSO (which is authentication and authorization). To put it blunt: No, in my strong opinion, this is not suitable for authentication as it currently is released. If that is the case and I'm wrong (which I'd like nothing more to be in this case), then please show me how you think this should be implemented by a 3rd party securely as I'm afraid we'll get a lot of wrong implementations and assumptions as it is currently released. With the current implementation I believe it is not possible to do authentication (which is not authorization!) securely, due to possible token replay attacks and what-not. True, a lot depends on how XenForo implemented their OAuth2 structure. However, dear XF... If I'm in the wrong (and I really hope so), please proof that it is secure as I don't think it is. Not without the OpenID Connect (or OIDC in short) layer on top (which I can't find anything about anywhere on your site/docs). Advertising that you can use this, as is, for authentication (which SSO contains), without solidly backing this up with transparent examples is, in my view, misleading. A lot of people assume OAuth2 equals authentication, but it doesn't! Not here to flame you guys, but I'm a (concerned) developer too and have worked on numerous proprietary OAuth2 implementations when OIDC wasn't there yet and I've seen it gone wrong (luckily almost always caught in time with audits) just too many times. I wouldn't wish this to happen to you as well, because I really like XenForo!

If, for any reason, I'm posting this in the wrong suggestion and I have to open another one for this, do let me know as well. There are more than one OpenID specs available (take a look at OpenID on SMF forum, which is not OIDC as I refer to), so it is kind of confusing as to what most people refer to when they say 'OpenID'. When I say OpenID, I mean OpenID Connect, which is an authentication layer on top of OAuth2's authorization framework.
 
Back
Top Bottom