6define(
'NOT_CHECK_PERMISSIONS',
true);
8require_once(
$_SERVER[
'DOCUMENT_ROOT'].
'/bitrix/modules/main/include/prolog_before.php');
10if (Loader::includeModule(
'mail'))
14 $_SESSION[
"MOBILE_OAUTH"] =
true;
16 $oauthHelper = MailServicesTable::getOAuthHelper([
19 if ($oauthHelper &&
$url = $oauthHelper->getUrl())
26 header(
'Location: bitrix24://');
30require_once(
$_SERVER[
'DOCUMENT_ROOT'].
'/bitrix/modules/main/include/epilog_after.php');
$_SERVER["DOCUMENT_ROOT"]
LocalRedirect($url, $skip_security_check=false, $status="302 Found")