No ratings
Saviynt Employee
Saviynt Employee


We are trying to onboard an application named Triskell using REST based connection into Saviynt.
As an initial step we are trying to establish connection and import existing accounts but we are facing below issues:
Triskell needs cookies to maintain sessions for Stateful web services. We tried basic and cookies authentication method but we are unable to fetch cookies dynamically while calling import account.
Please note: We cannot use stateless web services as it is disabled by Application Owner.


There was no example present in Rest Connector Guide for configuring the Connection Json using Cookies value stored in Response Headers 


The following Connection Json worked with the Cookies stored in Response Headers where the token was getting successfully generated upon expiry to be used in ImportAccountEntJson 

Connection Json

  "authentications": {
    "acctAuth": {
      "authType": "oauth2",
      "url": "************",
      "httpMethod": "POST",
      "httpParams": {

      "httpHeaders": {
        "Content-Type": "application/x-www-form-urlencoded"
      "httpContentType": "application/x-www-form-urlencoded",
      "expiryError": "ExpiredAuthenticationToken",
      "authError": [
      "timeOutError": "error",
      "errorPath": "error",
      "maxRefreshTryCount": 3,
      "tokenResponsePath": "#HEADERS#Set-Cookie",      "tokenType": "",
      "authHeaderName": "Cookie",
      "retryFailureStatusCode": [
      "accessToken": "sdfghjk"
Version history
Last update:
‎01-10-2023 01:15 PM
Updated by: