覚書w
RainLoopにシングルサインオンしたい場合のコード
あまり日本語で書いてあるサイトが無かったのでメモ
■サンプル
<?php
$_ENV['RAINLOOP_INCLUDE_AS_API'] = true;
include 'index.php';
$EMAIL = $_POST['email'];
$PASS = $_POST['password'];
$ssoHash = \RainLoop\Api::GetUserSsoHash($EMAIL, $PASS);
\header('Location: 【URL】?sso&hash='.$ssoHash);
?>
こんな感じでOK