and more in a single search tool across platforms. Read the announcement here. |
01/19/2023 06:55 PM
In connection JSON of cyberArk Rest connector , we provide accesstoken details.
If this accesstoken can expire after 20 minutes then how to refresh access token in cyberArk Rest connector in Saviynt ?
[ { "authentications": { "acctAuth": { "authType": "oauth2", "httpHeaders": { "Accept": "application/xml", "contentType": "application/json" }, "authError": [ "ITATS366E", "PASWS006E" ], "url": "https://<<hostname>>/PasswordVault/API/Auth/CyberArk/Logon", "httpMethod": "POST", "httpContentType": "application/json", "errorPath": "ErrorCode", "maxRefreshTryCount": 5, "tokenResponsePath": "string.content", "authHeaderName": "Authorization", "accessToken": "<access token>,\r\n", "httpParams": ": " } } }, { "username": "admin", "password": "@password@" } ]
01/19/2023 07:35 PM
Saviynt will automatically refresh and use updated access token once you have generated for first time.
01/25/2023 04:51 PM - edited 01/25/2023 04:52 PM
We added access token in connection JSON which was first time created. But its getting expired after 20 minutes. Saviynt not automatically refresh it. Does anyone has working CyberArk Rest connector Connection JSON ?
01/26/2023 08:31 PM
"acctAuth": {
"authType": "oauth2",
"url": "https://rushi.my.idaptive.app/oauth/token",
"httpMethod": "POST",
"httpParams": {
"client_id": "identity-privilege-integration-user$",
"grant_type": "urn:ietf:params:oauth:grant-type:saml2-bearer",
"assertion": "${access_token}"
},
"httpHeaders": {
"Content-Type": "application/x-www-form-urlencoded"
},
"httpContentType": "application/x-www-form-urlencoded",
"authError": ["Unable to authenticate the client","Invalid token Bearer"],
"retryFailureStatusCode": [401,403,404],
"expiryError": "ExpiredAuthenticationToken",
"importSuccessResponses":{
"statusCode": [200, 201, 202, 203, 204, 205]
},
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"refreshType": "",
"tokenType": "Bearer",
"accessToken": "Bearer <Token value>"
}
}
}