Re: integrating with external authentication system
Still trying to figure this out–I think I just need to find the place where bbPress finds out the ID of the current user, and insert my own function.
I looked in class.wp-auth.php as well as pluggable.php. As a test, I tried changing the validate_auth_cookie and get_current_user functions to “return XXXXX” in order to login user XXXXX automatically, but it didn’t work. I’m not sure if I’m changing the right functions, or if I’m returning the wrong information.
Is the ID number enough information to log a user in?
Where does it need to be provided?
There are a number of old threads with similar questions, but it seems like nobody has found an answer…
Thanks again!