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.

SSO proxy issues, browser stuck in a loop

edited September 2010 in Vanilla 2.0 - 2.8
Hi all!

I've been trying all day to get this single signon working but whenever I enable it, The whole /forum section of the site (latest vanilla build) just freezes and gets stuck in a loop.

My website is here:
I've made a test login which is not present in vanilla, vanilla just has an admin login set.
user [email protected]
password 123

On my website, I've got:

1. On login in , I set a cookie:
setcookie('VanillaProxy', $_COOKIE['PHPSESSID'], time()+3600, '/', '');

2. I've got an authentication script which outputs the following:

[email protected]

And vanilla is setup with the relevant proxy configuration in the plugins area, all the URL's are set to FDQN's

for example, my user details script is set to:

My cookie domain is set to

Now if I login to my website, I can see the authentication script is setting the right values and if I debug the cookies i get:
[PHPSESSID] => bmlif7j4ncc25vvrumn2ug35l2
[VanillaProxy] => bmlif7j4ncc25vvrumn2ug35l2

But as soon as I go to the forum, the whole browser gets stuck on "waiting for

Does anybody know what I'm doing wrong!?!




  • Oh, and my config might help!

    // EnabledApplications
    $Configuration['EnabledApplications']['Conversations'] = 'conversations';
    $Configuration['EnabledApplications']['Skeleton'] = 'skeleton';
    $Configuration['EnabledApplications']['Vanilla'] = 'vanilla';

    // EnabledPlugins
    $Configuration['EnabledPlugins']['GettingStarted'] = 'GettingStarted';
    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    $Configuration['EnabledPlugins']['ProxyConnect'] = 'ProxyConnect';

    // Garden
    $Configuration['Garden']['Title'] = 'cyclexchange Forums';
    $Configuration['Garden']['Cookie']['Salt'] = 'KSJQLO1CMY';
    $Configuration['Garden']['Cookie']['Domain'] = '';
    $Configuration['Garden']['Version'] = '2.0.6';
    $Configuration['Garden']['RewriteUrls'] = FALSE;
    $Configuration['Garden']['CanProcessImages'] = TRUE;
    $Configuration['Garden']['Installed'] = TRUE;
    $Configuration['Garden']['Errors']['MasterView'] = 'error.master.php';
    $Configuration['Garden']['RequiredUpdates'] = 's:279:"a:2:{i:0;a:3:{s:4:"Name";s:8:"Gravatar";s:4:"Type";s:6:"Plugin";s:7:"Version";s:5:"0.1.2";}i:1;a:3:{s:4:"Name";s:7:"Vanilla";s:4:"Type";s:11:"Application";s:7:"Version";s:5:"2.0.6";}}";';
    $Configuration['Garden']['UpdateCheckDate'] = 1284040613;
    $Configuration['Garden']['Authenticators']['proxy']['Name'] = 'ProxyConnect';
    $Configuration['Garden']['Authenticators']['proxy']['CookieName'] = 'VanillaProxy';
    $Configuration['Garden']['Authenticator']['EnabledSchemes'] = 'a:2:{i:0;s:8:"password";i:1;s:5:"proxy";}';
    $Configuration['Garden']['Authenticator']['AuthenticateURL'] = '';
    $Configuration['Garden']['Authenticator']['DefaultScheme'] = 'proxy';
    $Configuration['Garden']['SignIn']['Popup'] = FALSE;

    // Plugins
    $Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';
    $Configuration['Plugins']['GettingStarted']['Plugins'] = '1';
    $Configuration['Plugins']['GettingStarted']['Discussion'] = '1';
    $Configuration['Plugins']['ProxyConnect']['Enabled'] = TRUE;

    // Routes
    $Configuration['Routes']['DefaultController'] = 'discussions';

    // Vanilla
    $Configuration['Vanilla']['Version'] = '2.0.6';
  • edited September 2010
    I had the same issue. Try to upgrade to at least Vanilla 2.0.9 and ProxyConnect 1.8. This solved the problem for me.
Sign In or Register to comment.