Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/24/2024 10:38 AM
Bruno response
I have tried with both "tokenResponsePath": "#HEADERS#", and "tokenResponsePath": "#HEADERS#session-id",
ConnectionJson used.
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"httpHeaders": {
"ContentType": "application/x-www-form-urlencoded"
},
"authError": [
"InvalidAuthenticationToken"
],
"url": "https://********/api/authenticate/Login",
"httpMethod": "POST",
"httpContentType": "application/x-www-form-urlencoded",
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"tokenResponsePath": "#HEADERS#",
"tokenType": "",
"authHeaderName": "session-id",
"accessToken": "abc",
"httpParams": {
"username": "DOMAIN\\USERID",
"password": "*****",
"clientName": "test1234",
"clientID": "*******",
"clientVersion": "3.0"
},
"retryFailureStatusCode": [
401
],
"testConnectionParams": {
"http": {
"url": "https://*****************/api/Objects/Get?type=**********",
"httpHeaders": {
"session-id": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"successResponses": {
"statusCode": [
200
]
},
"errors": [
"InvalidAuthenticationToken",
"invalid_request",
"Invalid assertion signature",
"Token not found",
"TokenInvalid",
"FAILURE",
"INVALID_SESSION_ID",
"USER_AUTHENTICATION_FAILED",
"PARTNER_AUTHENTICATION_FAILED",
"AuthenticationFailed"
],
"errorPath": "errors.message"
}
}
}
}
Solved! Go to Solution.
10/24/2024 10:43 AM - edited 10/24/2024 10:47 AM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
10/24/2024 10:44 AM