Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

jsconnect auto signin - Broken

This discussion is related to the Vanilla jsConnect Auto SignIn addon.
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.