[wp-hackers] Exemplary code for web single sign-on plugin
lists at rotorised.com
Wed Jul 31 00:58:00 UTC 2013
> You don't need to handle the cookie parts yourself. Using the
> "authenticate" filter correctly will do it for you.
>From my own experience, simply filtering authenticate is *not* enough.
The cookie check will happen before authenticate gets called in some
cases, and cause the user to be logged out.
I had to work around this:
It may be the case that I was doing this incorrectly, but a simple
filter on authenticate wasn't enough for me.
More information about the wp-hackers