and more in a single search tool across platforms. Read the announcement here. |
04/18/2024 05:58 AM
Hi,
I am working on REST integration where access_token is not picking dynamically in other jsons like create and addaccess json.
PFA for the postman calls, Saviynt jsons and logs
Your help is highly appreciated! thanks in advance
Solved! Go to Solution.
04/18/2024 08:02 PM
{
"authentications": {
"userAuth": {
"authType": "oauth2",
"httpHeaders": {
"contentType": "application/x-www-form-urlencoded"
},
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed",
"FAILURE",
"INVALID_SESSION_ID"
],
"url": "https://apple.marketingcloudapis.com/v2/token",
"httpMethod": "POST",
"httpContentType": "application/x-www-form-urlencoded",
"errorPath": "errors.message",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"authHeaderName": "Authorization",
"accessToken":"Bearer Abcd",
"httpParams": {
"refresh_token": "${refresh_token}",
"clientId": "Abc",
"clientSecret": "123"
},
"retryFailureStatusCode": [
401,
403,
500
]
}
}
}
04/18/2024 08:06 PM
Hi @rushikeshvartak
Thanks for the response appreciated!
1. what is the value for abcd?
"accessToken":"Bearer Abcd",
2. Application team has not shared the "refresh" token.
Regards
04/18/2024 08:07 PM
Its dummy value
04/18/2024 08:12 PM
I mean do I need to get that value from application team or need to call the access_token value from the response?
Like in postman call under the Authorization there is an option.
Thanks
04/18/2024 08:20 PM
U can put token from response one time
04/18/2024 08:24 PM
Thanks again.
Hope you are saying in postman.
Can you please tell me what I can place in the saviynt connection json
"accessToken":"Bearer access_token",
something like that?
04/19/2024 11:51 AM
COnn JSON
04/22/2024 06:52 AM - last edited on 04/22/2024 10:05 PM by Sunil
Hi @rushikeshvartak
Thanks for the inputs, still having some challenge, I don't have REFRESH TOKEN.
granttype - Client_crendentials.
Can the json in the attachment will work?
[This message has been edited by moderator to mask url from an attachment]
04/22/2024 07:47 PM
{
"authentications": {
"userAuth": {
"authType": "oauth2",
"httpHeaders": {
"contentType": "application/x-www-form-urlencoded"
},
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed",
"FAILURE",
"INVALID_SESSION_ID"
],
"url": "xxxxxxxxxxxxxxxxxxxx/v2/token",
"httpMethod": "POST",
"httpContentType": "application/x-www-form-urlencoded",
"errorPath": "errors.message",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"token_type": "Bearer",
"authHeaderName": "Authorization",
"accessToken": "Bearer abcd",
"httpParams": {
"grant_type": "client_credentials",
"client_id": "123",
"client_secret": "abc"
},
"retryFailureStatusCode": [
401,
403,
500
]
}
}
}