HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Vanilla 3.3 SSO passing data


I just did a fresh install of version 3.3 and I am using the jsconnect SSO I use my own register form and login from my site, when they register they have to click a link sent to their email to verify but is it possible to set their verified using sso as default 1 ? example below.

$clientID = "xxxxxx";
$secret = "xxxxxxxxxxxxxxxxxx";

$signedIn = true;

if ($_SESSION['ID'])
    $signedIn = true;

$user = array();

if ($signedIn) {    
    $user['uniqueid'] = $_SESSION['ID'];
    $user['name'] = $_SESSION['Name'];
    $user['email'] = $_SESSION['Email'];
    $user['verified'] = "1";
}

$secure = true;
WriteJsConnect($user, $_GET, $clientID, $secret, $secure);


Comments

Sign In or Register to comment.