Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Account and entitlements reconciliation.

adityachadde
New Contributor III
New Contributor III

Hi Team,

We want to reconcile the accounts and entitlements from the target application using the REST connector.

Here the API has the Architecture of 2 calls (1st to pass creds, 2nd to read) we got the confirmation from Saviynt that it is not supported by the basic auth method.
 
Which approach or authentication method we can use to fetch the data from the source?
 
Is it possible to achieve this via Saviynt REST connection?
 
Best Regards,
Aditya Chadde
3 REPLIES 3

DixshantValecha
Saviynt Employee
Saviynt Employee

Thank you for reaching out to the Saviynt forums.

We kindly request that you provide additional details regarding your use case so that we can better assist you. Your cooperation in providing this information would be  appreciated.

adityachadde
New Contributor III
New Contributor III
 
We are trying to reconcile the accounts and entitlement via REST connector we are getting an error as below:
 
Error - to Import Data correctly: Failed
/api/users?fields=id,name,abbreviation,description
,dateCreated,dateModified with Error
Message-{"code":"ERR009","message":"The user's
session has expired, please
reauthenticate","ticketId":"de3efbfdd5594821bdae3f
9bceb45d34"}
 
We are using a REST connection.
 
{
  "authentications": {
    "acctAuth": {
      "authType": "Basic",
      "url": "https://URL/auth/login",
      "httpParams": {},
      "httpHeaders": {},
      "authError": [
        "InvalidAuthenticationToken"
      ],
      "httpMethod": "POST",
      "httpContentType": "text/html",
      "properties": {},
      "timeOutError": "Read timed out",
      "testname": "https://api/users",
      "errorPath": "error.code",
      "maxRefreshTryCount": 5,
      "tokenResponsePath": "access_token",
      "tokenType": "Basic",
      "accessToken": "Basic abcd",
      "apiRateLimitConfig": {"retryAfterCalls": 100,"retryWaitSeconds": 60}
    }
  }
}
 
The APIs which we are using has different Architecture in this first we need to send a POST request using one URL by passing username and password as query parameters and then we need to use different API to get accounts.
In Authentication API we are not getting any token in the response body we are using this POST request to create the session and we don't pass any token to the get accounts.
 
We have tried using Basic Auth, It is not working.
 
We have also asked about this in the community forum earlier. Please find the below link for more information.
 
 
Is this a Saviynt Limitation?
 
Best Regards,
Aditya Chadde

DixshantValecha
Saviynt Employee
Saviynt Employee

I have attached the latest Saviynt API documentation for your reference. This document contains all the necessary details regarding the API, including endpoint URLs, request and response formats, authentication methods etc.

 

Screenshot 2023-03-20 180851.png

Link:-https://documenter.getpostman.com/view/20697337/2s935smLj6#0804710a-73d9-4e56-8485-353249a40d39 

Please validate and let us know if further assistance is needed on this.