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.
auto-login via cookie variables - I need help
I'm integrating Vanilla into a community site, Dolphin, and want to write some kind of auto-login into Vanilla so they don't have to login twice.
What is written by Dolphin:
$_COOKIE['memberNick']; // this equals the Vanilla login name
$_COOKIE['memberPassword']; // this equals the Vanilla password
Can someone tell me where to place a check into Vanilla so if the two cookies exist, to query the Vanilla db and setup the Vanilla cookie SESSIONID if they match?
Since I have username and pass in cookies, it should be pretty easy to work with if I know where to put the logic.
Thanks!
0
This discussion has been closed.
Comments
Cookies aren't a good place to store a username and password.
A better solution would be to get Vanilla to read Dolphin's authentication scheme--this section on External Application Integrations covers how it's done with some other software packages.