09/28/2023 12:45 AM - edited 09/28/2023 01:49 AM
To use a PFX certificate for authentication in REST Connection please follow the following steps:
Upload the certificate under File Directory → Connector Files module and The path for the above location is : /saviynt_shared/saviynt/ConnectorFiles
Here is the connection json:
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"url": "https://xxxxxxxxxxxx.accounts.ondemand.com",
"httpMethod": "GET",
"httpParams": {
"grant_type": "client_cert"
},
"httpContentType": "application/x-www-form-urlencoded",
"ssl": {
"keyFile": "/saviynt_shared/saviynt/ConnectorFiles/cert.p12",
"keyFilePassword": "xxxxxxxx",
"keyStoreType": "PKCS12",
"sslAlgorithmName": "TLSv1.2"
},
"httpHeaders": {},
"retryFailureStatusCode": [
401,
403
],
"expiryError": "ExpiredAuthenticationToken",
"authError": [
"SESSION_NOT_VALID",
"AuthenticationFailed",
"ExpiredJwtException",
"401 Unauthorized"
],
"timeOutError": "Read timed out",
"errorPath": "code",
"maxRefreshTryCount": 6,
"tokenResponsePath": "",
"tokenType": "",
"accessToken": "abc"
}
}
}
10/02/2023 03:48 PM
Hi @ShubhamBabbar ,
Can you give us pointers on the above post? Is this an issue ? If Yes, what issue are you facing?
Thanks.
10/03/2023 09:02 PM
Hi Daanish,
This should have been posted as a knowledge base article. I have contacted the Saviynt admin in this regard.
Thanks,
Shubham