Caleb_Dixon | 2017-09-21 03:49:16 UTC | #1
Hi everyone,
I have been testing my POST calls within postman and have had great success. Postman is authenticating to my CRM through cookies that it recognizes whenever I sign into CRM from my web session (well to the best of my knowledge it looks like that's how it is authenticating).
Within Purecloud I am trying to replicate these successfully tested POST calls by using the webservices data dip connector actions. Everything for the action seems to be in order however it looks like the call is not able to authenticate with my CRM web instance the same way it can within Postman. The error that occurs under the connector logs is as follows
Encountered an error from the WebServices implementation. Response:HTTP Error 401 - Unauthorized: Access is denied Endpoint='/contacts', ActionCorrelationId='30c41e4b-387b-4f1b-8f8c-85acca334810'.
I looked into the OAUTH articles in purecloud but it looks like these are only used when trying to authenticate to purecloud.
Any suggestions on how to resolve this issue?
tim.smith | 2017-09-21 14:22:10 UTC | #2
It sounds like your WSDD integration is not authenticating with your CRM system properly. You'll need to review the authentication process for your CRM and implement that in your code. That's not something I can help with since that's outside the scope of integrating with PureCloud itself. If I've misunderstood your issue, please clarify.
Caleb_Dixon | 2017-09-22 04:20:13 UTC | #3
Alright thanks Tim
I'm looking into the new web services data actions and I can see under the web service requirements its specified "No authentication or Basic authentication".
However in some examples for the data actions authorization has been specified within the header. Although this means that for each call this header would have to be manually configured if the API does not currently handle the authorization.
I guess my question is whether there will be further authorization types implemented to be configured directly from the integration in Purecloud?
Richard.Schott | 2017-09-22 15:19:46 UTC | #4
Caleb, There are a couple of additional authentication types that are in development. The intent is give action admins access to credential attributes and several macros to encode those attributes to fit the authentication scheme of their web service. Additionally, there are plans to offer a rather generic Oauth authentication flow that will leverage the same concepts. These auth types will be coming along in the near future, and you should see release notes added as they become available.
Caleb_Dixon | 2017-09-25 06:15:53 UTC | #5
Hi Richard,
Alright awesome is there an ETA for these releases?
regards,
Richard.Schott | 2017-09-25 15:51:02 UTC | #6
Caleb, We aim to have some of the enhancements to auth in place before the end of the year. I would keep an eye on the UI and the PureCloud release notes for updates regarding data actions, as auth will be one of the areas of ongoing development in an effort to make this feature more broadly applicable.
system | 2017-10-26 15:51:09 UTC | #7
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: 1836