diff --git a/www-api/app/Controllers/WrenchOauth.php b/www-api/app/Controllers/WrenchOauth.php index 537973a8..5f3300c1 100644 --- a/www-api/app/Controllers/WrenchOauth.php +++ b/www-api/app/Controllers/WrenchOauth.php @@ -109,19 +109,21 @@ class WrenchOauth extends BaseController } private function prepareOauthEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){ + log_message('critical', "Started prepareOauthEndPointData -> ".$endpoint ); switch ($endpoint) { case 'authstart': // may not need to call back end , juet get the configurations switch($in["auth_type"]){ case 'GOOGLE': + log_message('critical', "Reading prepareOauthEndPointData -> ".$endpoint ); $local_out["GOOGLE_CLIENT_ID"] = $this->getSiteConfigurations("google.google_client_id"); $local_out["GOOGLE_CLIENT_SECRET"] = $this->getSiteConfigurations("google.google_client_secret"); break; - } $call_backend=false; break; case 'authlogin': + // not really implemented $in["action"] = WRENCHBOARD_ACCOUNT_AUXLOGIN; if (!isset($in["login_mode"])){ $in["login_mode"] = MOBILE_LOGIN;