Question

LDAP to authenticate two websites

I have two websites, one is under userFrosting (UF) framework, the other is Rocket.chat (RC). Each has its own user authentication system. I want to authenticate both under same system. I know i can either use Google to auth both, or LDAP if i want to have my own system. Let me know if there is other way to do this?

If I were to use LDAP, does that mean i have to completely abandon UF and RC’s user database and use LDAP’s database instead? If so, does that mean whenever I need to create new form in UF, I need to write codes to interact with LDAP’s database rather than UF’s?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

How 3rd party authentication is worked into a system is really completely up to the developer. I would think that in UF and RC it is more likely that LDAP is used as an authentication method but a local user account is also created in the database (as it would be with Google authentication).