Skip to main content

Okta Data Source

The Okta Data Source allows you to expose your Okta users, groups, roles, and applications to Styra DAS as a Data Source.

Configuring Data Source through the Styra DAS UI

Configure <das-id>.styra.com to access a Okta Data Source using the Styra DAS UI.

  1. Login to the Styra DAS UI.
  2. Select the System to add the Data Source.
  3. Click the kebab icon (three dots ⋮) to the right of the System and select Add Data Source. The Add Data Source dialog box appears.
  4. Select Okta.
  5. In Path type a new or existing path separated by /. For example, datasourcetypes.
  6. In Data source name (required) type a name for the Data Source type. For example, okta.
  7. (Optional) Type in a Description.
  8. In Client ID (required) type the Client ID.
  9. In Client secret (required) type the Client Secret.
  10. In Okta tenant (required) type the path to the Okta tenant.
  11. In Okta data type, select at least one Okta data type from the following options:
    • Users
    • Groups
    • Roles
    • Applications
  12. In Refresh interval type a refresh interval which is the amount of time between polling intervals. Default is s.
  13. Click the arrow to expand the Advanced field.
  14. In Data transform specify a policy and write a query that allows you to apply Rego transformations before it is persisted as data. For example, Select Custom and fill in the following fields:
    • In Policy type an existing policy separated by /. For example, transform/transform.rego.
    • In Rego query type the Rego rule to evaluate. For example, data.transform.query.
  15. Leave the Enable on-premises data source agent switch off. Enable on-premises data source agent shows how and where to run the data source. If set to true then datasource-agent will run on-premises setup.
  16. Click Add.