Open corcoja opened 5 years ago
Any updates on this?
ISAM needs to be configured with the distributed session cache (DSC) and enable "sticky sessions". Cookies are not supported in the SDK.
"When using OAuth-Auth, it’s not currently possible to use the Distributed Session Cache. If your instance of WebSEAL DSC enabled the cookie returned in the request will override the Access token."
From this article by Philip Nye: https://philipnye.com/2014/07/29/isam-for-web-and-mobile-oauth-authentication-and-sessions/
Hello. Currently we're facing an issue in the latest version of the SDK when sending a request (via SDK) to authorize a transaction. We're testing this in a clustered environment which has two ISAM policy servers. To be noted that we did not encounter any related issues in a single ISAM policy server environment.
It looks like this state ID is passed to ISAM via a
Set-Cookie
header field in the request, and on Android it can easily be fixed by setting a default cookie manager:CookieHandler.setDefault(new CookieManager());
Unfortunately, I couldn't get this working on iOS by using shared Cookie Storage (since the SDK most probably doesn't use it).In my understanding, we have to set
PD_STATEFUL_*****
value to theSet-Cookie
key in order to have the load balancer working as intended.I'm attaching the error logs:
Do you any fixes or workaround for this issue?