agilio | 2019-12-11 17:34:06 UTC | #1
We are trying to create data actions to a REST service. It uses basic Auth sent raw within the body but does not return the authorization token in the JSON response but instead returns 4 cookies. They require those 4 cookies and values on subsequent actions. Is there any way to retrieve the cookie names and values from the Custom Auth Action like we can do when it's returned in the JSON response?
Thanks
AG
anon28066628 | 2019-12-11 17:49:19 UTC | #2
By "cookies", are you referring to something returned in a response header? Response headers aren't currently exposed in data actions. Can the service be updated to mirror the data in the response body?
agilio | 2019-12-11 17:53:30 UTC | #3
Correct they are sending them back in the header. See the ones called Set-Cookie
This is creatio so i suspect the cannot change it to the JSON response.
Jason_Mathison | 2019-12-11 18:08:54 UTC | #4
R.J. is correct, there is currently no way to receive cookies in a data action. Please add a new idea at https://purecloud.ideas.aha.io/ for your use case. If you are attempting to implement against an external vendor please include the vendor / API in your idea.
--Jason
agilio | 2019-12-11 18:23:29 UTC | #5
Thanks guys that is what I assumed. We will have to go the middle-ware route.
system | 2020-01-11 18:23:33 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 6695