Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Need information on connection parameters.

NM
Esteemed Contributor
Esteemed Contributor

Hi,

Can someone elaborate on the use of expiryError and autherror?

Does expiryerror comes into picture when all the "maxrefreshtrycount" completed and it showcase the error mentioned in the parameter?

Does autherror checked the response to retry the connection again with application?

Thanks!


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'
3 REPLIES 3

rushikeshvartak
All-Star
All-Star

ExpiryError typically occurs when a token or authentication session has expired. It may be triggered after reaching the maximum refresh try count, indicating unsuccessful attempts to refresh the token. AuthError, on the other hand, suggests an authentication-related issue. It doesn't automatically retry the connection; you might need to handle it by refreshing tokens or re-authenticating based on the specifics of your application's logic.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Esteemed Contributor
Esteemed Contributor

Value we add in "expiryerror" should match to the one we received from api response or after the certain number of tries if we don't get a response the mentioned value gets displayed automatically in Saviynt UI and logs?

"expiryError": "ExpiredAuthenticationToken"

from the developers guide, it says displayed

NM_0-1705672866110.png

Use Case - 

if i have an API which gives 200 status code for all the API calls, how can i instruct Saviynt to retry the call? and should i mention the same in authError.

"authError": [
"AuthenticationFailed",
"401 Unauthorized"
]

Thanks


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

Yes you can mention. API should ideally respond proper http codes


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.