[wp-hackers] hook for third party login credentials
otto at ottodestruct.com
Wed Sep 15 17:31:41 UTC 2010
The authenticate filter will let you authenticate users any way you
choose, but it still has to return a valid WP_User object.
You could make a function that authenticated against your external
database and then created a local WP user if the user did not exist in
there already. That would work.
On Wed, Sep 15, 2010 at 9:48 AM, Christopher Ross <cross at thisismyurl.com> wrote:
> I'm looking for a hook that'll let me add an authentication source to the standard WP login page, any suggestions?
> What I want to do is first check if the user is in the database, if not pass to a routine that'll return true if it's in an external source but using the same information posted in the login form. For example, I could have a spread sheet or an API that stores username/passwords elsewhere.
> Any help would be appreciated.
> Christopher Ross
> Toronto 1 (416) 840-5828
> Fredericton 1 (506) 474-2708
> New Orleans 1 (504) 322 3485
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers