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.

[Solved] Not redirecting after auto sign in (see plugin)*

This discussion is related to the Vanilla jsConnect Auto SignIn addon.
mol35mol35 New
edited August 2013 in Vanilla 2.0 - 2.8

I have jsConnect site wide sso working with a java backend.
Installed jsConnect Autosign in, browse to a url like


It auto sign's in using jsConnect but does not redirect to the above url, it goes to


This is the sign in page with 'Or you can...' at the bottom but no sso button or anything.
If I browse to the original url it works.

What am I missing?


  • what version of vanilla?

    grep is your friend.


  • edited July 2013

    I'm seeing the same problem on

    I have nicer URLs set up, so the URL is more like this:

    but the same issue - the page is delivered, like a signon page but without a login form (if the user is not logged onto the WP site, then the login form does get shown), but we don't get redirected to post/discussion

    Is this something that has been explicitly fixed in a later version? I cannot upgrade the whole of Vanilla in this instance, but if there is a patch I can back-port, then will be happy to do that.

  • where does it get redirected to?

    grep is your friend.

  • you need to upgrade from to for security reasons. They are almost identical, so there should be no issue with the update. Search on the forum if you want to update the individual files.

    grep is your friend.

  • Hi, I find the same problem on, and addon is 0.1.5b.

    For example, my site is "", and vanilla is "".
    When I login site, then go to "",
    page doesn't redirect to "post/discussion", and stops at "".
    If I go to "", I can find I'm already login.

  • If you go back to are you still signed in?

    grep is your friend.

  • @x00 said:
    If you go back to are you still signed in?

    Yes, I'm signed in. Only the first "forum/post/discussion" cannot redirect.

    When page stops at, I can see "connecting" popup box flashing for seconds, then disappears. It seems login is successful, but page doesn't redirect after "connecting" disappears.

    I don't know if can add some redirect code in js file to fix this problem.
    Can you give some advice? Thanks

  • so all that is not happening is the redirect?

    Are using any form of minifier?

    grep is your friend.

  • Yes you are right I didn't account for this. I will simply take the target and redirect.

    grep is your friend.

  • Thing is it should have redirected anyway, just that becuase the request came from a dynamically generated form (not ajax), reather then pointing in a browser. It seems not to care. So I make a last ditch redirect.

    grep is your friend.

  • Great, it worked! Page can redirect.
    @x00, Thanks.

Sign In or Register to comment.