Web Service Connector Problems - IIQ 8.4

Which IIQ version are you inquiring about?

8.4

I know this is a problem that others have experienced when trying to retrieve a token from Okta to support OAuth2. I believe the problem I’m experiencing using the GUI form is the inability to define scope in the body (for Okta its ‘dynamic_group’).

I’ve seen other posts related to creating a before rule to retrieve the token, and I believe that’s the solution I’ll need to implement. Below is a working curl command. Can you help me in crafting the before rule? I’ve not had much success…thanks in advance.

Working Curl Command:

curl --location 'https://url.com/oauth2/key/v1/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic ENCODED AUTH' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=dynamic_group'

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.