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.
Sign out does not redirect to my application
I have ProxyConnect 1.9.7 set up, and almost everything seems to be running fine. Automatic login works perfectly, as does the Sign In link redirecting to my application.
However, when I click Sign Out, it only removes the Vanilla cookie, and neither sends the user to my sign-out URL in the plugin's configuration nor sends a callback to that URL in the background. I am not signed out of my application, nor does its logs indicate that any sign-out request was ever sent. Clicking Sign Out directly from my application, however, works just fine.
Why might ProxyConnect skip my site's Sign Out URL?
However, when I click Sign Out, it only removes the Vanilla cookie, and neither sends the user to my sign-out URL in the plugin's configuration nor sends a callback to that URL in the background. I am not signed out of my application, nor does its logs indicate that any sign-out request was ever sent. Clicking Sign Out directly from my application, however, works just fine.
Why might ProxyConnect skip my site's Sign Out URL?
Tagged:
0
Answers
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