
stikx (stikx) asked a question.
How do I debug an Okta Workflow OAuth 2.0 (Authorization Code) Test Connection Issue?
I have created a WorkFlow Connector via Connector Builder and I am experiencing issues on how to debug a Connection Issue. When I create a Test Connection and provide all the Client Id and Secret, it successfully conects to the IdP and I can see it gets something back, but what I am not sure as it fails with a "Failed to create connection" message.
The URL
curl --location 'https://xxxx/auth/token' \
--header 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' \
--header 'Authorization: Basic xxxxxxx' \
--data-urlencode 'grant_type=authorization_code' \
--data-urlencode 'code=xxxx' \
--data-urlencode 'redirect_uri=https://oauth.workflows.okta.com/oauth/xxxx/cb'
Nothing shows in the System Log.
Any ideas?

@stikx (stikx) - yep _authping is the "healthcheck". You essentially want to choose an endpoint that is always going to exist and is relatively low data / fast response on the specific service. For example if I were making an "Okta" connector I would use something like /api/v1/users/me since "me" will always return the results for the user context of the authorized connection.