Jacques_Tiberghien | 2020-11-24 19:53:56 UTC | #1
Hi,
I wanted to know if there was a way to map response header fields. I m doing an integration with User Defined OAuth, but the login API from the external application sends back the token in the header, not in the body of the response.
Thank you
Jason_Mathison | 2020-11-24 20:30:34 UTC | #2
This is currently not possible. There is an open idea for this that you could vote for and/or include other use cases.
https://genesyscloud.ideas.aha.io/ideas/CLSELF-I-343
Assuming that this isn't a private customer endpoint, would you mind sharing what API you are attempting to integrate with?
--Jason
Jacques_Tiberghien | 2020-11-24 22:21:49 UTC | #3
Thanks for the reply Jason. That is a private API. As a workaround, I ll ask them to pass the token in the body or go through a middleware to reformat
Jason_Mathison | 2020-11-25 03:48:40 UTC | #4
Those are the our typical suggestions in a situation like this :slight_smile:
One middleware option to consider is an AWS lambda via a Lambda Data Action. That eliminates a public internet hop from Genesys Cloud to your middleware, along with it being a serverless solution.
system | 2020-12-26 03:48:45 UTC | #5
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: 9375