alex7 | 2023-09-26 10:40:55 UTC | #1
I need to get a token to a 3rd party client. But the client has a limitation that it can only send content-type application/json. The oauth2 request requires application/x-www-form-urlencoded. Is there any way to make this work without introducing a middleware component?
Jason_Mathison | 2023-09-26 12:29:43 UTC | #2
Take a look at this documentation:
https://help.mypurecloud.com/articles/how-to-use-the-user-defined-oauth-credential-type/
In the example the content type is set to application/x-www-form-urlencoded
--Jason
alex7 | 2023-09-26 14:07:50 UTC | #3
That I understand. My question is if there is any other way around it if the client can only send content-type application/json without introducing a middleware component that will handle the authorization.
Jason_Mathison | 2023-09-26 14:33:28 UTC | #4
I apologize, I don't seem to be understanding what you are asking for.
Could you either whip up a quick diagram of what you are trying to accomplish, or give an example of the data action configuration you need that you won't currently work?
--Jason
system | 2023-10-27 14:33:54 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: 22210