The test authentication is showing failed again and again when creating a custom action in adobe journey optimiser , but the same api is working fine in postman and reqbin, so how to resolve it.
Views
Replies
Total Likes
can you share the payload you are using in custom authentication ?
Views
Replies
Total Likes
@AvaniJain what is the auth type? can you share more details around the use case?
Views
Replies
Total Likes
The auth type is bearer token
Views
Replies
Total Likes
@AvaniJain you might have to get endpoint whitelisted, can you log a support case for the same, they would be able to check error as well on the server side.
@AvaniJain Here is one of the examples of custom Authorization payload and it needs to be adapted based on what you have working in postman. Can you validate with this ?
{
"type": "customAuthorization",
"authorizationType": "Bearer",
"endpoint": "<your_auth_endpoint>",
"method": "POST",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": {
"bodyType": "form",
"bodyParams": {
"grant_type": "client_credentials",
"client_id": "<client_id>",
"client_secret": "********",
"scope": "<scope_details>"
}
},
"tokenInResponse": "json://access_token",
"cacheDuration": {
"duration": 86400,
"timeUnit": "seconds"
}
}
Reference - https://experienceleague.adobe.com/en/docs/journey-optimizer/using/configure-journeys/data-source-jo...
I have my client id and scope in headers , and my body is completely empty. My request is working completely fine in postman and reqbin with no body and only headers .
Views
Replies
Total Likes
can you share the curl ?
Views
Replies
Total Likes
Views
Likes
Replies