<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5KZ00000eGSjP0AWOkta Identity EngineWorkflowsAnswered2025-10-19T09:01:36.000Z2025-04-09T09:13:09.000Z2025-04-10T00:04:37.000Z

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?


Loading
How do I debug an Okta Workflow OAuth 2.0 (Authorization Code) Test Connection Issue?
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply