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.
Options

modified proxy connect to support json, how to do a push request?

eleitheleith New
edited July 2010 in Vanilla 2.0 - 2.8
i don't see proxy connect sso (formerly just sso) plugin on github, so i'm doing a push request here.

i like the json encoding of the previous SSO, so i restored it into proxy connect. the change is as follows

change this line

$Result = @parse_ini_string($Response);
to

if(Gdn::Config('Garden.Authenticators.proxy.Encoding', 'ini') == 'json')
$Result = @json_decode($Response, TRUE);
else
$Result = @parse_ini_string($Response);

Comments

  • Options
    TimTim Operations Vanilla Staff
    Not a bad idea. I don't see any harm in adding this.
    FYI: New ProxyConnect version (1.4) incoming today with better Wordpress support and a couple of URL formatting niceties.

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

Sign In or Register to comment.