[wp-hackers] Exemplary code for web single sign-on plugin

Ryan McCue lists at rotorised.com
Tue Jul 30 21:22:06 UTC 2013

Robert Lowe wrote:
> Can anyone point me to code that they would consider exemplary for
> implementing web single sign-on in a plugin?

Depending on what exactly you want, Keyring is probably a good start:

You may even be able to write your own service definition for it and
avoid reinventing the whole wheel.

As for the relevant cookie parts, I'm not sure if they're handled by
Keyring, but they're fairly trivial once you've got a WP_User.

Ryan McCue

More information about the wp-hackers mailing list