<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
0D54z0000AKDxVqCQLOkta Classic EngineAPI Access ManagementAnswered2025-03-12T12:35:43.000Z2025-03-04T13:56:14.000Z2025-03-12T12:35:43.000Z

Naga KishoreI.14293 (Customer) asked a question.

Unable to create workflow API connector for OKTA API

Hi @Everyone,

 

I have a requirement to access few OKTA APIs from the workflows. I need to have an authentication token with limited scopes so I configured an API services application with client ID and client secret and all the required API scopes. Then, I navigated to workflow console and attempted to create "API connector" connection with following details,

Access Token Path: https://{oktaDomain}/oauth2/v1/token

Client ID: <Taken_from_API_service_App>

Client Secret: <Taken_from_API_service_App>

 

However, I am unable to create connection with message "Failed to connect". Can you please help me understand if I missed anything?

 

Note: I cannot use the token from (API > Tokens) because, I need only some scopes related to directory group management for the token


  • Paul S. (Okta, Inc.)

    Hello @Naga KishoreI.14293 (Customer)​ Thank you for posting on our Community page!

     

    You can create an Okta connection "Okta Workflows Connection - Insufficient Scope". clicking the PERMISSIONS tab then you can select CUSTOM and select the scopes that you want this connection to use, then you can then use this limited permissions OKTA connection with either the custom API card or whatever cards it is allowed to use (scopes for cards).

    As a best practice, you should make it clear in either the connection name or description that this is a connection with limited scopes and even list the ones granted.

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
  • Paul S. (Okta, Inc.)

    Hello @Naga KishoreI.14293 (Customer)​ Thank you for posting on our Community page!

     

    You can create an Okta connection "Okta Workflows Connection - Insufficient Scope". clicking the PERMISSIONS tab then you can select CUSTOM and select the scopes that you want this connection to use, then you can then use this limited permissions OKTA connection with either the custom API card or whatever cards it is allowed to use (scopes for cards).

    As a best practice, you should make it clear in either the connection name or description that this is a connection with limited scopes and even list the ones granted.

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
This question is closed.
Loading
Unable to create workflow API connector for OKTA API