[wp-hackers] hook for third party login credentials

Otto 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.

-Otto



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.
>
> Chris
>
> __
>
> Christopher Ross
>
> Toronto      1 (416) 840-5828
> Fredericton 1 (506) 474-2708
> New Orleans 1 (504) 322 3485
>
> http://christopherross.ca
> http://www.thisismyurl.com
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list