and more in a single search tool across platforms. Read the announcement here. |
12/28/2022 04:18 AM
Hi,
I am trying to setup a SaviyntForSaviynt REST connection object. In the REST connector guide(https://saviynt.freshdesk.com/support/solutions/articles/43000521736-rest-connector-guide#RESTConnec...), in the Developers handbook section, various authentication types are mentioned.
In the oauth2 authentication type, I am referring to Static Refresh Token section. The sample JSON provided in this section has the following snippet :
Here, since it is a SaviyntFor Saviynt connection object, how can i get the client id, secret values of Saviynt ?
Please correct if my understanding is wrong somewhere.
12/28/2022 05:33 AM
This is for target apps not saviynt4saviynt
12/28/2022 05:39 AM
@rushikeshvartak , for a Saviynt for Saviynt connection, that means we cannot use a Refresh Token ?
12/28/2022 05:50 AM
you can use refer api documentation
https://documenter.getpostman.com/view/1797923/2s83mbojGM#aad9ac63-60ba-4556-bf1d-58b816824f74
12/28/2022 06:17 AM
The only sample JSON present in the REST API documentation which uses a refresh token is with client_id and client_secret.
Can you share any sample connection JSON for SaviyntForSaviynt which uses a Refresh token ?
02/20/2023 08:04 AM
Hi Varun,
We are facing the same issue. Did you find a solution?
03/15/2023 05:08 AM
Can you try below
{
"authentications": {
"Saviynt4Saviynt": {
"authType": "oauth2",
"url": "https://XXXXX-XXXXXX/ECM/api/login",
"httpMethod": "POST",
"httpParams": {
"grant_type": "refresh_token",
"refresh_token": "${refresh_token}"
},
"httpHeaders": {
"Content-Type": "application/x-www-form-urlencoded",
"Authorization": "Basic PQR"
},
"httpContentType": "application/x-www-form-urlencoded",
"expiryError": "ExpiredAuthenticationToken",
"authError": [
"USER_AUTHENTICATION_FAILED",
"PARTNER_AUTHENTICATION_FAILED",
"AuthenticationFailed"
],
"refreshType": "RefreshToken",
"refreshTokenResponsePath": "refresh_token",
"refreshToken": "xyz",
"timeOutError": "Read timed out",
"errorPath": "errorCode",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"retryFailureStatusCode": [
401
],
"accessToken": "Bearer abc"
}
}
}