Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
2.0.18b2: SSO Logout not working and cookie not deleting
Hi,
I've installed the newest version of Vanilla Forums 2.0.18b2 today (because ProxyConnect is now working again), but I've got two problems:
1. When a click the logout button in Vanilla Forums the user is not redirected to my logout page.
2. I can't unset/delete the Vanilla cookies from my logout page, although I did set my domain correctly...
Are these bugs, or am I just making some kind of mistake?
Thanks!
I've installed the newest version of Vanilla Forums 2.0.18b2 today (because ProxyConnect is now working again), but I've got two problems:
1. When a click the logout button in Vanilla Forums the user is not redirected to my logout page.
2. I can't unset/delete the Vanilla cookies from my logout page, although I did set my domain correctly...
Are these bugs, or am I just making some kind of mistake?
Thanks!
Tagged:
0
Comments
There was an error rendering this rich post.
However, there is one minor problem I noticed: administrators can't set a message or import a forum. Only the user that was initially created as administrator can do that. Is that done on purpose?
How did you solve it? What did you change?
Thanks!
I opened class.proxyconnect.plugin.php in the ProxyConnect folder and changed the EntryController_SignOut_Handler function with the following :
public function EntryController_SignOut_Handler(&$Sender) {
if (!Gdn::Authenticator()->IsPrimary('proxy')) return;
Redirect('http://www.yoursitehere.com/wp-login.php?action=logout', 302);
}
note that if your wordpress is not installed on the root, you need to include the installation folder eg. http://www.yoursitehere.com/blog/wp-login.php?action=logout
Vanilla Forums COO [GitHub, Twitter, About.me]
public function EntryController_SignOut_Handler(&$Sender) {
if (!Gdn::Authenticator()->IsPrimary('proxy')) return;
$Authenticator = Gdn::Authenticator()->GetAuthenticator('proxy');
$Authenticator->SetIdentity(NULL);
$Authenticator->DeleteCookie();
$SignoutURL = Gdn::Authenticator()->GetURL(Gdn_Authenticator::URL_REMOTE_SIGNOUT, NULL);
Redirect($SignoutURL,302);
}