Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/06/2024 07:52 AM
Hi Team,
We are trying to onboard GitHub using GithubRest connector for importing of accounts.
Below is the Authentication method used and the JSONS:
Authentication method : Git Oauth App
Connection JSON and Import Json Attached.
The entitlements included in entitlementParams are getting imported but the account import is throwing an error error :"Could not convert responseText to Map. Trying to conver to list"
Error logs are attached for reference.
Solved! Go to Solution.
06/06/2024 12:43 PM
Use below json
tAuth": {
"authType": "oauth2",
"url": "https://XXXXX/login/oauth/access_token",
"httpMethod": "POST",
"httpParams": "",
"httpHeaders": {
"Content-Type": "application/x-www-form-urlencoded"
},
"httpContentType": "application/x-www-form-urlencoded",
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed",
"Must authenticate to access this API."
],
"retryFailureStatusCode": [
401,
403
],
"errorPath": "error.message",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"authHeaderName": "Authorization",
"accessToken": "Bearer XXXXXX",
"token":"XXXX"
}
}
}