-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Exception: Could not find EndorsingSupportingTokens tag in provided security policy XML #82
Comments
Hi @Rgodinho22
Thanks |
i have the same error |
do you have your organization configured for IFD? If yes, could you email your org url to support@alexacrm.com? |
the configuration is CRM On-premise |
Let me repeat the question: have you configured IFD? If not then note that IFD is required. |
How i know if IFD is configured? Because i think it isn't |
If IFD is configured, the prompt to login is a form |
its the second option, it prompt a basic dialog to login on browser. |
Im having this error message with this log
Fatal error: Uncaught Exception: Could not find EndorsingSupportingTokens tag in provided security policy XML in alexacrm\php-crm-toolkit\src\Client.php:340 Stack trace: #0 alexacrm\php-crm-toolkit\src\Client.php(308): AlexaCRM\CRMToolkit\Client->getSecurityAddress(Object(DOMElement), 'Federation') #1 alexacrm\php-crm-toolkit\src\Client.php(624): AlexaCRM\CRMToolkit\Client->getOrganizationAuthenticationAddress() #2 alexacrm\php-crm-toolkit\src\Client.php(160): AlexaCRM\CRMToolkit\Client->getFederationSecurityURI('organization') #3 alexacrm\php-crm-toolkit\examples\teste.php(19): AlexaCRM\CRMToolkit\Client->__construct(Object(AlexaCRM\CRMToolkit\Settings)) #4 {main} thrown in alexacrm\php-crm-toolkit\src\Client.php on line 340
my code
`<?php
require_once '../../../autoload.php';
use AlexaCRM\CRMToolkit\Client as OrganizationService;
use AlexaCRM\CRMToolkit\Settings;
$options = [
'serverUrl' => 'https://xxxx.company.com/XRMServices/2011/Organization.svc',
'username' => 'user',
'password' => '****',
'authMode' => 'Federation',
];
$serviceSettings = new Settings( $options );
$service = new OrganizationService( $serviceSettings );
/*
$contact = $service->entity( 'contact', $contactid );
echo "{$contact->fullname}" . PHP_EOL;*/
?>`
The text was updated successfully, but these errors were encountered: