Topic-icon How can I add new Provider for my custom Auth Server

Active Subscriptions:

None
Right now there are several out of the box Providers like Amazon, Facebook, Github, Google, etc. But I wish to add an additional provider without having to hack into the components code. I was able to add it but I had to create some files inside the component itself (like inside libraries/provider, libraries/profile folders) which is a HACK that I don't wish to be extra cautious about those files duing the upgrade. Also I had to write language constants inside the en-GB.com_jfbconnect.ini file which is again hacking (I could also make it work by adding these language constant inside the en-GB.override.ini file but this is again not extensible). One more thing I want to add that we have multiple environments like Staging, QA, PROD. And for all the environments we have different OAUTH URLs, but looking at the current implementation of providers I could not config those URLs anywhere. There should be a way to config such URLs for each provider like Client Id & Secret Key.

Thanks
The topic has been locked.
Support Specialist
We have a whole plugin system that allows for adding new providers. We've been using that system for over a year now to add new providers separately and have more coming out soon. Can you let us know what version of JFBConnect you're using and post from the account you subscribed to JFBConnect from? That will help us understand the options available in your current release and help prioritize support.

As for different environments, most of the callback URLs are set based on the Client ID & Secret Key. You set the keys in your social network app and JFBConnect uses those keys and the base URL to generate the proper callback URLs.

I hope that helps get you started and once we know more about your version, we can help guide you on creating your own provider plugins without hacks.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hello Alex,

Thanks for the reply! I'll be using the latest version i.e. 8.4.3. Do let me know the next steps on how can I get started using the plugin approach without hacks.
The topic has been locked.
Support Specialist
3 years 9 months ago #66535 by mel
I just started some documentation for how to create a custom provider plugin. It's a really rough guideline right now, but I'll be refining it and will try to add a zip of some skeleton code.

www.sourcecoast.com/jfbconnect/docs/thir...tom-social-providers
The topic has been locked.
Active Subscriptions:

None
Thanks! I'll see this documentation helps and share my feedback soon.
The topic has been locked.
Active Subscriptions:

None
Thanks! I'll see if this documentation helps and share my feedback soon.
The topic has been locked.
Support Specialist
3 years 9 months ago #66540 by mel
There's a download button in that documentation now for the code zip.
The topic has been locked.
Active Subscriptions:

None
Thanks for the reply!

From the documentation and zip, I can see the folder structure after installation of the plugin remains the same as we have utilised in our implementation. The plugin approach seems ok to make it available and ready to use. But I have a question here. At the end of the documentation, it says "After the above implementation, you should zip and install the plugin. JFBConnect should detect the custom provider after it is enabled." How can I install it inside JFBConnect? Can you please guide me on this?
The topic has been locked.
Support Specialist
3 years 9 months ago #66543 by mel
Install it as a normal Joomla plugin. We don't have a separate system to install it inside of JFBConnect.

-Melissa
The topic has been locked.