Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
SSOLogin using PHPToolkit
Hi,
I am trying to implement SSOLogin function using phptoolkit.
I am not sure how to generate authkeys using PHP ? I think i would get a URL as a result . the code is given below :
ini_set("display_errors","1");
require_once "phptoolkit/PHPtoolkit.php";
$email = "";
$password = "";
$account = "";
$role = "3";
$myNSclient = new nsClient();
$timestamp = mktime(date("h"),date("i"),date("s"),date("m"),date("d"),date("y"));
$authKey = "1314072 demo1111@gmail.com ".$timestamp;
$result = $myNSclient->ssoLogin($account, $authKey);
if($result->isSuccess){
pr($result);
}else{
print "Fail";
}
Please help me , if anybody has done SSOLogin implementation before, using PHPToolkit.
Thanks in advance,