Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
anyone used Curl to login to vanilla?
Hi, Recently I started a project that needs to integrate a forum.
Like many other posts here I also have my own user management system but I haven't seen anyone discuss using Curl to login.
Is this not possible, or simply not the best approach?
Like many other posts here I also have my own user management system but I haven't seen anyone discuss using Curl to login.
Is this not possible, or simply not the best approach?
0
This discussion has been closed.
Comments
Not the best approach. If you have a homebrew system, I would recomend dropping it for People unless it has a feature you or your users require.
Curl won't work because it won't give the user's browser the cookies necessary to link the session to the browser.
Vanilla is made modular enough to be able to just pull out the built in session handling and replace it with whatever you have, like has been done with Wordpress. I did come across a joomla (or maybe it was drupal?) "bridge" that integrated sessions, and am sure there are other ways to pass the session data into Vanlla.
This may be helpful:
How would I detect someone was logged in on a non-Vanill page? # 5