
Giri D (Customer) asked a question.
OKTA workFlow Connection 403 Forbidden.
Hi All, Am tryin to connect to OKTA custom identity source using OKTA Workflows. Okta Workflows OAuth Auth is granted with the scopes okta.identitySources.read and okta.identitySources.manage. When trying to list the Import session am receiving
"message": "403 Forbidden", "description": "HTTP Request Error",

@Giri D (Customer)
>Okta Workflows OAuth Auth is granted with the scopes okta.identitySources.read and okta.identitySources.manage.
As far as permissions go there are two things you need to look at:
* In Applications > Applications > Okta Workflows Oauth > Okta API Scopes do you have those two scopes set to granted? (This is the OIDC apps that performs the granting). Note: Any changes to the "Grants" on the app will require you to re-auth your connection with the client to request the new scopes.
* In Workflow > Workflows Console > Connections > New (Okta) connection. Under the Permissions tab when "Default" is selected indicating everything in the following list is turned on do you see those two scopes listed? (This is the client that requests a subset of scopes to be granted by the OIDC app)
If those scopes are missing from the app you either do not have XaaS provisioned in the org or there was an issue with the provisioning of XaaS to the org. Neither of these are specifically Okta Workflows issues. If the permissions are not something available in the org then it will not be possible for the API client Okta Workflows to gain the required scopes.
To correct a provisioning problem with XaaS you would need to open a case with the Lifecycle Management team as they handle XaaS issues.