Free To Feel

Heading to entrepreneur.

Joshua Chi

Symfony + Vanilla2 + SSO

Vanilla2 is really really cool! Both the interface and functionality are very good. I give a implementation of integrating the vanilla forum into a symfony project with SSO. I have given some investigation of the SSO. If you have a lot of applications deployed in different domains, CAS is a better choice. But it will take you a lot of time to implement. As I can think, there is a CAS server using 8080 port that you should deploy. And I found an interesting post "Simple Single Sign-On for PHP". I really like this idea.

simple SSO

The main idea is using the symlinks in Linux system to link one session file in domain to another in To implementation this idea into your application is simple. But there is not so many security test for this idea. I have given a integration of bbpress into my symfony project. But there is a lot of interface should be modified in bbpress, like login, auth_user and so on. And I didn't want to spend so much time on it. So I almost give up.

After I installed the vanilla 2, I was shocked by its UI. screenshot And there is a SSO plugin for vanilla 2. The main idea to implement vanilla-SSO is sharing the domain cookie and sharing the current user information in the main site. That the vanilla will try to get the current user information. If there is, the user will sign in the vanilla. But this only limit to these sites have the same domain. For example, your main application was deployed on and the vanilla should be deployed on

comments powered by Disqus