
BrianC.37067 (Service Corporation International) asked a question.
I am trying to create a API connector in Workflows to connect to Webex so that I can have the ability to send a message to Webex teams.
Their API uses OAuth. I have created an integration and was issued a client id, secret and I selected a scope. Based on the entries on the "new connector" screen this should be straightforward, but I am not getting all the way through the process. I am following the guidance from Webex's site (https://developer.webex.com/docs/integrations).
I have filled in the form as follows (client id and secret have been altered)
This returns an error from Webex. The error message is encoded in the URL:
So I specify the client id in the URL and I got an Okta Workflow page, so I added the redirect uti to the authorize path, then I had to add the scope. That seemed to be enough because after that I received this page when I clicked "create":
So no clue there as to what went wrong.
I am assuming that Workflows is trying to exchange the code for an authorization token and it is failing, but I do not know how to see what is going on.
If there are other parameters that need to be passed, I would have assumed that Okta supplied them from the values in the client ID, secret and scope fields. I also assume that the redirect url is supplied as it is fixed, but apparently not.
Other things I have tried. On the Access Token Path, I have specified a grant type of "authorization_code" and I have tried "refresh_token"

Hello @BrianC.37067 (Service Corporation International),
Thanks for posting!
I reviewed your implementation on Splunk looking for errors and found this:
https://okta.splunkcloud.com/en-US/app/search/search?earliest=1638939600&latest=1639198800&q=search%202ddb3499-5547-4063-8bda-45d148cc8380&sid=1639155719.4624741_67A8795E-29D7-48DA-B26E-79C836A36771&display.page.search.mode=smart&dispatch.sample_ratio=1&workload_pool=standard_perf
This means there is something wrong with the data entered at some point.
For your specific case, I suggest you open a case with support so we can take a better look at the values needed and assist you with the setup.
Regards,
Natalia
Okta Inc.