Join us for EEConf 2023, October 4-5 in Orlando. Speakers. Networking. Community powered. Awesome.
Join us for EEConf 2023, October 4-5 in Orlando.
Register Now!I have a sizable community already in IPB, I would like to create more content and use EE. The goal is to have a single sign on (SSO) but use my database of users that is already in IPB and pass the basic information back to EE to use in the templates. I do see there are products like mini-orange out there, but talking to them, we are looking at a pretty heft monthly payment. IPB already has features for SSO and you can connect to Wordpress pretty easily (I do not want to use Wordpress). Is there anyone out there that can help or show me how EE and IPB can be connected? Looking for any help that anyone can offer. Thank you.
It’s possible but requires some programming. I have done some EE SSO logins before, either to EE or from EE or both from a custom system.
Complexity depends on what you want. For example, do you want just users from your EE site to log into IPB? In that case, it would be easier if there is some SSO integration you can use from IPB that you can tap into.
Or maybe you want it the other way around, or both. If both, complexity is a bit more complicated because you need to map the users from your EE database to the ones in your IPB forum somehow, assuming they are not using the same username or another way that is unique in both installations.
There is also the challenge of how you will handle registrations. Are you going to keep registrations open in IPB or EE or both? Because a user that registers in one site should then also be registered in the other unless you plan to do the registration automatically when they first sign in, else you can have problems like a user who is already registered with the same username in both sites.
SSO is something you should carefully design between both system and try to see all possible solutions and problems. Ideally, you want to handle both registrations and logins from one system only and just log the users in to the other to avoid exactly some of those issues.
You can create users or log them to EE by using classes, hooks and code, it’s not something you can do natively which means you will need to code an add-on or have someone develop it for you.
First I would like to say thank you for the detailed reply. I am looking to keep it simple. I think it would be fine in my case to route users to one login and one registration (on the forum side), but then the SSO will make sure that they are logged in throughout. IPB does have Oauth 2 functionality and has native integrations for connection to WordPress and other major sign-ins.
https://invisioncommunity.com/4guides/members-and-groups/social-sign-in/oauth-20-r349/
That authentication system on the link is to log into IBP, not the other way around, which is what you want. Search on the EE addons page for login alone, and that will give you some options. Example, if you allow users to log in with Google on IBP, and you enable an add-on that allows the same on EE, that is the simplest way to do it. There is for example also an LDAP module, if IBP supports that, you can then use the same authentication system for both as well.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.