Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm currently working on several IT projects for a large organization (100k+ members). I'm thinking on providing some kind of unification and integration of all websites that I'm designing.

So my question is, what are the best practices for such integration?

I'm using mainly two php-based engines: WordPress and Q2A

What I would like to achieve:

  • Provide Single-Sign-On (SSO) for all websites managed by me.
  • Exchange information between pages, something like user's top-bar on StackExchange
  • Provide a SSO plugin for WordPress (there is a lot of sub-organizations in this organization, most of them have simple WordPress based webpages; I would like to provide them with a plugin that allows loging by the users via unified SSO).

So what are the best practices? Is the SSO mechanism itself powerfull enough to achieve that or should I look for some modification of it?

share|improve this question

1 Answer 1

There are two widely used single sign on protocols:

From a technical perspective the biggest difference is that your site has to pre-register with the Oauth server. The Oauth provider will give your site a token that it must send when you want to log in a visitor. OpenID requires no previous arranged relationship.

It appears that Oauth is the better choice nowdays. Facebook has always supported only Oauth login for single sign on. Google used to support OpenId, but has since implemented Oauth and started to deprecate OpenId.

StackExchange took the approach of writing their own OpenId server or allow you to choose from third party providers. There is a lot less user confusion if you support only one single sign on provider. It could be your own, or you could just use Google.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.