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.

ProxyConnect doesn't redirect to login page

edited August 2010 in Vanilla 2.0 - 2.8
I have setup ProxyConnect but it doesn't redirect to the login page of my webapp when I click login. Instead it tries to load http://localhost:8888/site/forum/index.php?p=/entry/signinloopback/discussions
which it returns an empty page.
Tagged:

Comments

  • The problem is that Gdn::Authenticator()->GetRealIdentity() returns 0 and in never enter the $Authenticator->Authenticate() condition
  • I am also having this problem.
  • This problem went away when I cleared my cookies.
  • Clearing the cookies doesn't work for me.
  • I am having the same problem. Clearing the cookies isn't a solution for me. This is the empty page that I am looking at:
    http://www.byucafe.com/bbs/index.php?p=/entry/signinloopback/discussions
  • @yanis & @udaman,

    I had the same problem, which I finally tracked to an empty line at the top of the authentication page in my external app. Removing that empty line fixed the problem. Sample data from my working authentication page:

    UniqueID=288 Name=UserName Email=email@email.com

    In my testing, including anything on that page except the required data in that exact format caused the sign in to fail.

    Hope that helps.
  • edited August 2010
    @jonathon - thanks for this.

    How did you add the UniqueID to the GDN_UserAuthentication table? The instructions on this site are out of date.
  • TimTim Operations Vanilla Staff
    @udaman

    What are the values in your ProxyConnect settings screen? Specifically, the Sign In URL, as highlighted here:

    image

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • I couldn't log in to vanilla admin area because of the blank screen that gave me nothing: http://www.byucafe.com/bbs/index.php?p=/entry/signinloopback/discussions
    Is there a way to bypass this screen?
    However, I got the SignInUrl value from GDN_UserAuthenticationProvider table using phpMyAdmin. It is:
    http://www.byucafe.com/wp-login.php?Target=%s
    This value is also found at Vanilla ProxyConnect Configuration in my WordPress admin setting.
  • TimTim Operations Vanilla Staff
    Are you using an old copy of the WP plugin? Change "?Target=%s" to "?redirect_to={Redirect}"

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • edited August 2010
    @Tim, I actually reinstalled the fresh copy of vanilla2. I also uploaded your new plugin and enabled it. I am wondering how you get that screen above. I can't get the screen.
  • TimTim Operations Vanilla Staff
    In the dashboard, on the left, click on User > Authentication

    You'll get a dropdown box. Choose "ProxyConnect".

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • edited August 2010
    Fast response! I actually did. When I changed to ProxyConnect, a progress bar showed up but that's all I got. I desired something happened, but it kept thinking and did nothing.
  • TimTim Operations Vanilla Staff
    What exact version of Vanilla are you using, and do you have RewriteUrls enabled?

    Make sure your index.php file has "2.0.3" at the top. "2.0.2" had a problem with the progress bar.

    Vanilla Forums COO [GitHub, Twitter, About.me]

Sign In or Register to comment.