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.

jsconnect auto signin - Broken

donovanbdonovanb
edited August 2018 in Vanilla 2.0 - 2.8

Does not seem to work on Vanilla 6.2

Comments

  • I was able to get it to work with this patch:

    diff --git a/js/jsconnectAuto.js b/js/jsconnectAuto.js
    index 2d157ec..4728c40 100644
    --- a/js/jsconnectAuto.js
    +++ b/js/jsconnectAuto.js
    @@ -76,7 +77,7 @@ jQuery(document).ready(function($) {
       }
    
       function jsconnectAuto(provider) {
    -    var connectUrl = gdn.url('/entry.json/jsconnectauto?client_id='+provider['AuthenticationKey']+'&Target='+provider['Target']);
    +    var connectUrl = gdn.url('/entry/jsconnectauto.json?client_id='+provider['AuthenticationKey']+'&Target='+provider['Target']);
         AutoAuthenticate(connectUrl);
       };
    
  • More readable patch here.

  • I merge though better to PR whatever is broken with vanilla own configs, as thsi should be obsolete. It has been obsolete for a while.

    grep is your friend.

  • PCTipsGRPCTipsGR Unknown New

    Hi @x00

    I see that you have updated the plugin in GitHub, could you please update it here in the forums too (I'm asking because most users, myself included, download plugins from here).

    Thanks in advance.

Sign In or Register to comment.