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
chrispyfur
New
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:
http://dev.cyclexchange.co.uk
I've made a test login which is not present in vanilla, vanilla just has an admin login set.
user 123@123.com
password 123
On my website, I've got:
1. On login in , I set a cookie:
setcookie('VanillaProxy', $_COOKIE['PHPSESSID'], time()+3600, '/', '.cyclexchange.co.uk');
2. I've got an authentication script which outputs the following:
UniqueID=218
Name=123
Email=123@123.com
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:
http://dev.cyclexchange.co.uk/account/forum_authentication.php
My cookie domain is set to .cyclexchange.co.uk.
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:
Array
(
[PHPSESSID] => bmlif7j4ncc25vvrumn2ug35l2
[VanillaProxy] => bmlif7j4ncc25vvrumn2ug35l2
)
But as soon as I go to the forum, the whole browser gets stuck on "waiting for dev.cyclexchange.co.uk.
Does anybody know what I'm doing wrong!?!
Thanks!
Chris.
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:
http://dev.cyclexchange.co.uk
I've made a test login which is not present in vanilla, vanilla just has an admin login set.
user 123@123.com
password 123
On my website, I've got:
1. On login in , I set a cookie:
setcookie('VanillaProxy', $_COOKIE['PHPSESSID'], time()+3600, '/', '.cyclexchange.co.uk');
2. I've got an authentication script which outputs the following:
UniqueID=218
Name=123
Email=123@123.com
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:
http://dev.cyclexchange.co.uk/account/forum_authentication.php
My cookie domain is set to .cyclexchange.co.uk.
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:
Array
(
[PHPSESSID] => bmlif7j4ncc25vvrumn2ug35l2
[VanillaProxy] => bmlif7j4ncc25vvrumn2ug35l2
)
But as soon as I go to the forum, the whole browser gets stuck on "waiting for dev.cyclexchange.co.uk.
Does anybody know what I'm doing wrong!?!
Thanks!
Chris.
Tagged:
0
Comments
// 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'] = 'dev.cyclexchange.co.uk';
$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'] = 'http://dev.cyclexchange.co.uk/account/forum_authentication.php';
$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';