API Token auth in Http call in workflow

Hi team,

I want to make Https call to Okta from a workflow. So to connect to Okta, like in the SaaS Okta connector, the preferred route is to use Private key to generate jwt token and use this jwt token to generate the access-token or the API token route. We cannot use clientID, clientSecret route(custom authorization server).

Pivate key route:

  • I dont think there is a way that we can use the private key to generate the jwt token and then use this in the Https call to get the access token

API Token route

  • Is it possible to use API token as auth in http call within workflow?

thanks in advance

Hi Veera,

Looked into Okta SaaS connector guide and can see there are two ways of authentication suggested:

  1. via API token
  2. via OAUth2.0 which is using JWT token.

Attaching authentication with an API token steps for reference:

Let me know if you looking for same or looking for an option of connecting Okta via Webservice Connector and then authentication using API token ?

Hi Neetu

I want to use API Token in http action inside workflow

Regards

Try this in your httpRequest action:
Type: Custom Authentication
Header name: Authorization
Header Value: SSWS {{api_key}}

2 Likes

note that the header value is not encrypted, so the API key will be stored in plain text.

In case of Custom Authorization it’s encrypted