public function GetTokenKeyFromHandshake($Handshake) {
return ''; // this authenticator doesnt use tokens
}
and add the following snippet right after it (do not replace it, just append it):
public function GetUserEmailFromHandshake($Handshake) {
return ArrayValue('Email', $Handshake, FALSE);
}
Garden.Authenticator.SyncScreen - TRUE by default, this setting allows you to disable the "Link Accounts" screen during new SSO user signup.Garden.Authenticators.proxy.AuthField - This setting allows forum administrators to decide which remote field should be considered the UserKey when creating a new user via SSO. Defaults to 'UniqueID'.if(Gdn::Config('Garden.Authenticators.proxy.Encoding', 'ini') == 'json')
$Result = @json_decode($Response, TRUE);
else
$Result = @parse_ini_string($Response);
3) i'm stilling getting pushed to the DefaultController regardless of original page requested, so i needed to change the following line and comment out the redirect
if ($AuthResponse == Gdn_Authenticator::AUTH_SUCCESS) {
#Gdn::Request()->WithRoute('DefaultController');
Gdn::Request();
}
in the end it all works, thanks for the update! It looks like you're new here. If you want to get involved, click one of these buttons!