Can you explain this a bit more? Are you using the JFBConnect authentication or not? You mention Facebook in the subject, and we already fully support that with our OAuth library. I'm not sure why you'd want to replace that.I have my own OAuth authentication plugin and i need to integrate it to JFBConnect.
What is the conflict? I'm sure I'm asking a lot of questions, but this just isn't a question we've had before. If you're using JFBConnect for authentication, then we should be setting up all the details we need from our components/com_jfbconnect/libraries/provider files. Then, the social network should be using the callbacks that go into our extension.The problem is that it have some conflict with JFBConnect.
We use the Joomla OAuth2 library for most of our authentication process. We separated them out into our /libraries/authentication directory because we needed them to work with Joomla 2.5, but you can see the full Oauth code there. I don't think there's anything out of the ordinary that we try to setup.Maybe if you can clarify what variables i should expect when FB or G+ or other social network send me after redirection, i can add it to my own oauth2 server.
When we create the user, we use the JUser::save() function. It's all in our /models/loginregister.php file. The save() function is from core Joomla and triggers those plugin events. We don't have control over them. Can you test if doing a normal JFBConnect registration calls those events? My guess is that something in the code you're working with is redirecting the user or altering the code flow somehow to prevent the trigger, but it's difficult to tell.Another thing, i'm using a plugin for my own users and i call onUserAfterSave to save my own variables in my own tables. But when i register with facebook seems that onUserAfterSave is not called.. any ideas how to fix this?
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
