PDA

View Full Version : SSO via Hooks


KTechOps
11-14-2014, 09:25 PM
My client currently has SSO capabilities in their vBulletin instance
http://community.kabam.com/forums/forum.php
Currently it is "hacked" into the source code. The original programmer at the time did not know about the product/plugin/hook system. I'm tasked with taking the current implementation and modularizing it to make use of plugins/hooks so that upgrading will be easier. My initial question is what hooks would be beneficial to use. Basically when the user hits the log in button it should redirect him/her to another site to log in there. Afterwards it should redirect back to the vb application. If the user does not exist in the vb db....add him/her. All registrations need to be handled on the SSO site. Is this something that can be easily done via hooks? Or is the hack approach the best approach?

ozzy47
11-14-2014, 09:35 PM
Have a look at how this mod handles it, https://vborg.vbsupport.ru/showthread.php?t=270517