google config call
This commit is contained in:
@@ -112,9 +112,13 @@ class WrenchOauth extends BaseController
|
||||
switch ($endpoint) {
|
||||
case 'authstart':
|
||||
// may not need to call back end , juet get the configurations
|
||||
$local_out=['google','1234567'];
|
||||
|
||||
switch($in["auth_type"]){
|
||||
case 'GOOGLE':
|
||||
$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':
|
||||
|
||||
Reference in New Issue
Block a user