When running two Web Agents on different domains, a user authenticated on domain .example.com is prompted for credentials again when attempting to access a protected resource on domain .example.org. Single Sign-On (SSO) between the two domains is expected to work automatically via the Cookie Provider.
The SMSESSION cookie for domain .example.org is not being created by the Cookie Provider hosted on .example.com prior to redirecting the user to the protected resource.
The Cookie Provider Agent Configuration Object (ACO) had the parameter limitcookieprovider set to YES (1). When this parameter is set to YES, the Cookie Provider only creates SMSESSION cookies for its own domain and refuses to create cookies for other domains. As a result, cross-domain SSO fails and the user is prompted for credentials when accessing the second domain.
To resolve the issue, set limitcookieprovider to NO in the Cookie Provider's ACO.
Sample configuration after fix:
[18648/2428991232][Mon Sep 11 2017 16:18:34] cookiedomain=''.[18648/2428991232][Mon Sep 11 2017 16:18:34] cookiedomainscope='0'.[18648/2428991232][Mon Sep 11 2017 16:18:34] enablecookieprovider='yes'.[18648/2428991232][Mon Sep 11 2017 16:18:34] limitcookieprovider='no'.[18648/2428991232][Mon Sep 11 2017 16:18:34] trackcpsessiondomain='yes'.[18648/2428991232][Mon Sep 11 2017 16:18:34] tracksessiondomain='yes'.
[14869/738195200][Mon Sep 11 2017 16:18:34] cookiedomain='.example.org'.[14869/738195200][Mon Sep 11 2017 16:18:34] cookiedomainscope='0'.[14869/738195200][Mon Sep 11 2017 16:18:34] cookieprovider='https://cookieprovider.example.com/siteminderagent/SmMakeCookie.ccc'.[14869/738195200][Mon Sep 11 2017 16:18:34] enablecookieprovider='no'.[14869/738195200][Mon Sep 11 2017 16:18:34] limitcookieprovider='no'.[14869/738195200][Mon Sep 11 2017 16:18:34] tracksessiondomain='yes'.