Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/25/2024 08:11 AM
Hi,
We are trying to build verity connector using REST. The verity team has provided us the URL and the payload details to get the token, Below is the connection JSON , they claim it is JWT bearer token, however the beilif is it does oauth authentication. below is the Postman API
VerityConnect (getpostman.com)
below is connection JSON
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"url": "https://api.veritystream.cloud/services/oauth/api/authentication/jwt/validate",
"httpMethod": "POST",
"httpParams": {
"Requester": {
"Key": "XXXXXXX",
"Id": "XXXX",
"Secret": "XXXXXXX",
"Resource": "Verity Connect",
"Instance": ""
},
"Parameters": {}
},
"httpHeaders": {
"contentType": "application/json"
},
"expiryError": "ExpiredAuthenticationToken",
"retryFailureStatusCode": [
401,
400
],
"timeOutError": "Read timed out",
"errorPath": "error",
"maxRefreshTryCount": 5,
"tokenResponsePath": "Value",
"tokenType": "Bearer",
"accessToken": "Bearer abcd"
}
}
}
below is the postman request
"Requester": {
"Key": "XXXXXXX",
"Id": "XXXX",
"Secret": "XXXXXXX",
"Resource": "Verity Connect",
"Instance": ""
},
"Parameters": {}
},
and the response is
Solved! Go to Solution.
06/25/2024 08:27 AM
Hi @txvajrag , what issue are you facing. Is Test connection not working ?
Thanks,
Amit
06/27/2024 06:07 AM
Test connection always shows successful. So when i try to run import its not able to get the token.
06/27/2024 06:36 AM
httpParams all double quote add backslash \”
06/27/2024 06:54 AM
JSON becomes invalid
06/27/2024 06:56 AM
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"url": "https://api.veritystream.cloud/services/oauth/api/authentication/jwt/validate",
"httpMethod": "POST",
"httpParams": "{\"Requester\":{\"Key\":\"XXXXXXX\",\"Id\":\"XXXX\",\"Secret\":\"XXXXXXX\",\"Resource\":\"Verity Connect\",\"Instance\":\"\"},\"Parameters\":{}}",
"httpHeaders": {
"contentType": "application/json"
},
"expiryError": "ExpiredAuthenticationToken",
"retryFailureStatusCode": [401, 400],
"timeOutError": "Read timed out",
"errorPath": "error",
"maxRefreshTryCount": 5,
"tokenResponsePath": "Value",
"tokenType": "Bearer",
"accessToken": "Bearer abcd"
}
}
}
06/27/2024 07:56 AM
06/27/2024 10:17 AM
if you add wrong secret in postman what is HTTP error code ?
06/25/2024 09:09 AM
Please share postman screenshot
06/25/2024 09:13 AM
GEtting responsestatuscode 400 , looks looks like token expiry or some token issue
06/25/2024 09:17 AM
Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .
‼️‼️⚠️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.⚠️‼️‼️
06/27/2024 05:55 AM
in the logs as well it shows responsestatuscode is 400 and tries to refresh the token for 5 times
08/07/2024 12:50 PM
This is issue is fixed now. input paramters using the properties rather than httpparams worked