Integrate with an Okta tenant


Before applications can be secured, an Okta tenant must be configured to provide identity services.
Access Gateway and your Okta org integrate using SAML and REST APIs.
The following diagram represents how your Okta tenant connects to Access Gateway using SAML.

To configure Access Gateway to integrate with an Okta org, you must:

  1. Create an Okta Service Account for Access Gateway
  2. Create an Okta API Token
  3. Configure Okta as IDP in Access Gateway

Create an Okta Service Account for Access Gateway

  1. In your browser, navigate to your Okta org and sign in as an administrator.

    Okta recommends creating a specific Service Account in Okta to create the Access Gateway API key. This is important because every action performed by an API key is logged under the user that created the key. In the interest of maintaining accurate logs, a dedicated Access Gateway Service Account is recommended.

  2. In the Admin Console, go to Directory > People.
  3. Click Add Person.
  4. In the Service Account name fields, enter the first and last name.
  5. In the Username and Primary email fields, enter a dummy email . For example,

    Use a dummy value for the Username and Primary email fields so that there is no interference between the service account and your own account in the event of a password reset request. Adding your own email address to the Secondary email field ensures you can activate and maintain the service account.

  6. In the Secondary email field, enter your valid administrator email.
  7. Select the Send user activation email check box, and click Save. You should now see your newly created Service Account under the Activated people tab with a Password reset status.
  8. In the Admin Console, go to Security > Administrators.
  9. Click Add Administrator.
  10. In the Grant administrator role to field, enter the name of the service account created earlier.
  11. Select the Super Administrator check box, and click Add Administrator. You should now have two Super Administrator accounts.
  12. Sign out of your Okta Admin Account.
  13. In your email, open the Service Account Activation Email you received from Okta and click the Activation link.
  14. Set a password and a security question, and select an account security image.
  15. Upon completion, sign in with the new Service Account credentials.

Create an Okta API Token

  1. Navigate to your Okta org.

  2. In the Admin Console, go to Security > API.
  3. On the API page, click Create Token.
  4. Enter a Token Name in the dialog box, and click Create Token.

    Use a name that easily identifies the token’s purpose. In this case, the token is being used in the Access Gateway appliance, so including or Access Gateway, OAG, or other relevant information is recommended.

  5. Copy the displayed Token Value in a safe place.
  6. Once you close the pop-up window, you can never display the token value again.
    Ensure you copy the token to a safe, secure location (such as a password manager or secure note database) for future reference.

  7. Click Ok, got it.

Configure Okta as IDP in Access Gateway

  1. In your browser, navigate to the Access Gateway Admin UI console and sign in as an administrator.
  2. Select the Settings tab.
  3. Click the Identity Providers pane.
  4. Click + and select OKTA.
  5. In the Add New Okta IDP dialog enter:
    • Name field - enter an appropriate name for the IDP such as Okta IDP.
    • Okta Org - Enter your okta org which is typically one of {your org name}, {your org name}, or something similar.
      Note this field is shown blank in the associated screen shot but must be completed.
    • Okta API Token - Past the value copied from your Okta org when you created an Okta API token.

    Access Gateway Add New Okta IDP dialog shown with Name, Okta Org and Okta API token highlighted.
  6. Click Not Validated.
    Once the Okta API Token is validated successfully, the Not Validated button changes to Validated
  7. Click Okay. The Settings tab displays your Okta IDP status.
  8. Verify that it displays the status as Valid.
    Access Gateway setting page shown with with new Okta IDP added with valid status.
  9. Navigate to the Topology tab to test the IDP’s connection.
  10. Click the Okta IDP icon to be redirected to your Okta tenant, which will resemble:

    Access Gateway topography page shown with new IDP highlighted.