integrating with external authentication system
I’ve been working on integrating bbPress with a website that already has its own user database and login system. I already set it up to keep the bbPress database and the site database synchronised, so that registering as a site user will simulate registration in bbPress. The last step is to make bbPress recognize my site’s cookies, which I’m trying to do through a plugin.
I’ve been trying to figure out which functions I need to rewrite in order to make this possible. I know there are a handful of functions in functions.bb-pluggable.php which I can replace in my plugin, but I’m not clear on how they connect with everything else in bbPress.
Basically, I have a function that determines whether a user is currently logged in, and what that user’s ID number is. I just can’t figure out where to put the function. (The site uses its own login form, so I don’t need to worry about bbPress’ login process.)
I found a few old posts where people were trying to do similar things, but no clear answers. Any pointers would be appreciated.
You must be logged in to reply to this topic.