Can't get proxy connect to work
Don't know where I've gone wrong, but I installed Vanilla 2, WordPress 3.3 and PorxyConnect. But If I activate the proxy connect authenticator. It shows a empty page at login, and I get locked out of wordpress.
Any idea what is wrong here?
Best Answers
-
Todd Vanilla Staff
The most important thing is your cookie domain. You should examine your cookies in your browser and make sure that your wordpress cookies and your Vanilla cookies have the same domain.
0 -
Todd Vanilla Staff
Okay Vanilla sets a cookie too and if you don't see it then either:
a) You aren't browsing to Vanilla when you do this test.
b) Vanilla has the wrong cookie domain and it doesn't have permission to write the cookie on your site.ProxyConnect has a place to specify your cookie domain. Make sure it's
.golfclub-stippelberg.nl
.0 -
Todd Vanilla Staff
I really don't know what's going on here. Here are some other points:
- You really need to have curl enabled. We've made this requirement more clear in recent releases of ProxyRequest.
- Your host may not allow the curl requests that we make during ProxyRequest.
- The most recent version of ProxyRequest does have a test page. Make sure it checks out there.
- We are releasing a newer WordPress plugin shortly that will not use ProxyRequest, but rather jsConnect.
0 -
Todd Vanilla Staff
It looks like you have everything setup correctly. Try the following.
- Make sure you are signed in to Wordpress.
- Browse to /entry/land in Vanilla. This will force Vanilla to recheck the SSO.
0 -
Todd Vanilla Staff
I notice your cookie domains are not the same. One is
.golfclub-stippelberg.nl
and one isgolfclub-stippelberg.nl
.0 -
Todd Vanilla Staff
Additionally, make sure that your default roles are set up properly and that they have permission to sign in. Sign in to the admin account you made Vanilla with and see where your user is and what role they have. If that role does not have permission to sign in then you'll have a problem.
0 -
Todd Vanilla Staff
Check to see if there are any users in Vanilla, not Wordpress. See what roles they have and if they have permission. Sign in through /entry/password and look at the users.
0 -
Todd Vanilla Staff
Okay listen. It looks like you have something going wrong and it's really beyond the scope of community support to solve it.
0 -
sahotataran ✭✭✭
i had configured proxy connect on my localhost and just took me 5 mins without any problems signing in or anything. just followed the steps
0 -
sahotataran ✭✭✭
can you try reinstalling everything or it will be too difficult to do????? i had tried everything localhost before going live with anything like that
0 -
sahotataran ✭✭✭
i mean installing wordpress and vanilla and the proxy connect - mean starting the whole process once again
0
Answers
O.K. managed to install i manualy, it tests SUCCESFULL.
When I login Vanilla, it only recognizes my admin account. And login in wordpress does nothing.. (i.e. no login)
I'm stuck!
Proxy connect has a lot of documentation. You need to make sure you read through it and make sure you have everything set up first. Making sure your cookie domains and paths are correct is especially important.
O.K. have read quite some docs today regarding this... and it seems that I'm not smart enough to understand them. Made sure everything is correct at no avail.
Made a little progress...
Now I'm still able to log into wordpress when Vanilla Proxyconnect is activated.
It still does not log any user into vanilla.
Verification tests in vanilla still give SUCCESFULL, as they did before. However no new users get created.
Now when I log into vanilla, I get redirected to the wordpress login, return to vanilla.... that's it. Logged into WordPress not logged into Vanilla, and no new user made. I end on the page http://golfclub-stippelberg.nl/vanilla/entry/handshake/proxy (i.e. login screen vanilla)
Do I need to have Vanilla in a special place in regard to Wordpress?
I now have them in:
My Wordpress site address
The most important thing is your cookie domain. You should examine your cookies in your browser and make sure that your wordpress cookies and your Vanilla cookies have the same domain.
Hi Todd...
Thanks for the response... the only cookie I find in safari is [golfclub-stippelberg.nl]. I have both plugins [.golfclub-stippelberg.nl] for the cookie domain.
Okay Vanilla sets a cookie too and if you don't see it then either:
a) You aren't browsing to Vanilla when you do this test.
b) Vanilla has the wrong cookie domain and it doesn't have permission to write the cookie on your site.
ProxyConnect has a place to specify your cookie domain. Make sure it's
.golfclub-stippelberg.nl
.Removed all cookies and looked in Firefox:
I have a VanillaProxy cookie
A wordpress_... and a wordpress_logged_in_...
All have [.golfclub-stippelberg.nl] as domain.
Both pluggins have this domain specified as cookie domain.
I really don't how how I can verify if vanilla has permission to write the cookie on my site, other than finding it in my browser.
Is there anything in my htaccess file that can interfere?
I really don't know what's going on here. Here are some other points:
1-Curl installed and active
curl
cURL support enabled
cURL Information libcurl/7.21.6 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
2-I can't tell (asked my ISP, info is pending)
3-Checked and double checked
4-Looking forward to it ;-)
It looks like you have everything setup correctly. Try the following.
O.K. done..
It is taking me to http://golfclub-stippelberg.nl/vanilla/discussions
Not logged in Vanilla.
I'm logged into wordpress, you can check: http://golfclub-stippelberg.nl/vanilla/entry/land
I notice your cookie domains are not the same. One is
.golfclub-stippelberg.nl
and one isgolfclub-stippelberg.nl
.I'm baffled...
The wordpress_... and wordpress_logged_in_... cookies in my browser have Domain: .golfclub-stippelberg.nl
I've got a few wordpress cookies with Host: golfclub-stippelberg.nl but no others with Domain: golf club-stippelberg.nl
Additionally, make sure that your default roles are set up properly and that they have permission to sign in. Sign in to the admin account you made Vanilla with and see where your user is and what role they have. If that role does not have permission to sign in then you'll have a problem.
I'm using the standard roles in wordpress, and I've been testing with members and Admin.
The only user in vanilla is the admin.
About the cookie domains.... is there any way I can change those golfclub-stippelberg.nl to .golfclub-stippelberg.nl
Putting: define('COOKIE_DOMAIN', '.golfclub-stippelberg.nl'); in wp-config.php still does not log me into vanilla.
Check to see if there are any users in Vanilla, not Wordpress. See what roles they have and if they have permission. Sign in through /entry/password and look at the users.
One user: AdminJack jackey@melisgs.nl Administrator 12 December 18:42 95.97.101.31