You need to sign in to do that
Don't have an account?
evgenyka
Single sign on SSO from Self servise portal SSP
Hello
I have a customer logged in to Self servise portal and i have created a link for him which is passing hes session_id to another php application
I would like to get self service user data based on this link is this possible?
Does anyone got a code example?
Code:
Fatal error: Uncaught SoapFault exception: [sf:INVALID_SESSION_ID] INVALID_SESSION_ID: Self Service User Sessions are not valid for use with the API in /home/xxm_php/sforce-php/soapclient/SforceBaseClient.php:627
Any help here?
Thanks
I have a customer logged in to Self servise portal and i have created a link for him which is passing hes session_id to another php application
I would like to get self service user data based on this link is this possible?
Does anyone got a code example?
Code:
$mySforceConnection = new SforcePartnerClient();The following code works fine for me for regular sfdc user but when i am trying to use getUserInfo with Selfe service session id i am getting the following error
$mySoapClient = $mySforceConnection->createConnection('/home/xxm_php/wsdl.xml');
$mySforceConnection->setSessionHeader($s_id);
$mySforceConnection->setEndpoint('https://na3.salesforce.com/services/Soap/u/7.0');
print_r ($mySforceConnection);
$result=$mySforceConnection->getUserInfo();
Fatal error: Uncaught SoapFault exception: [sf:INVALID_SESSION_ID] INVALID_SESSION_ID: Self Service User Sessions are not valid for use with the API in /home/xxm_php/sforce-php/soapclient/SforceBaseClient.php:627
Any help here?
Thanks