Configure your Okta tenant as an Identity Provider

The purpose of this guide is to walk you through the configuration of Okta Access Gateway with an Okta tenant as an Identity Provider.


After Access has been installed, and typical post installation tasks have been performed, your Okta tenant must be configured as an iDPAn acronym for Identity Provider. It is a service that manages end user accounts analogous to user directories such as LDAP and Active Directory, and can send SAML responses to SPs to authenticate end users. Within this scenario, the IdP is Okta..


  1. Okta Access Gateway has been installed and is reachable
  2. An Okta Tenant is available and can be accessed as adminAn abbreviation of administrator. This is the individual(s) who have access to the Okta Administrator Dashboard. They control the provisioning and deprovisioning of end users, the assigning of apps, the resetting of passwords, and the overall end user experience. Only administrators have the Administration button on the upper right side of the My Applications page..

What’s covered in this guide

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

Create an Okta Service Account for Access Gateway

  1. In your browser, Navigate to your Okta OrgThe Okta container that represents a real-world organization. and Login as an Administrator.

    Best Practice: Okta recommends creating a specific Service Account in Okta that will be used 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. Navigate to the Directory > People section.
  3. Click Add Person.
  4. Enter a descriptive First name and Last name for the Service Account naming fields (i.e Service Admin). Enter a dummy email (i.e. for the Username and Primary email.

Best Practice: Use a dummy value for the Username and Primary email fields so that there is not interference between the Service Account and your own account in the event of a password reset request, etc. Adding your own email address to the Secondary email field ensures you can activate and maintain the Service Account.]

  1. Enter your valid Administrator Email in the Secondary email field. . Click the Send user activation email checkbox, and click Save.
  2. You should now see your newly created Service Account under the Activated people tab with a Password reset status.
  3. Navigate to the Security → Administrators section.
  4. Click Add Administrator.
  5. Enter the name of the Service Account created earlier in the Grant administrator role to field. . Click the Super Administrator checkbox, and click Add Administrator.
  6. You should now have two Super Administrator accounts.
  7. Sign out of your Okta Admin Account.
  8. In your email, open the Service Account Activation Email you received from Okta and click the Activation link.
  9. After clicking the link, you will be asked to create a password, answer a security question, and select an account security image.
  10. Upon completion, log in with the new Service Account credentials.

Create an Okta API Token

  1. In the Service Account Dashboard, select Security → API from the menu options.

  2. On the API page, click Create Token.

  3. Enter a Token Name in the pop-up window, and click Create Token.

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

  4. Copy the displayed Token Value in a safe place before clicking Ok, got it

Warning: Once you close the pop-up window, you can never display the token value again! Please ensure you copy the token to a safe, secure location (such as a password manager or secure note database) for future reference.

Configure IDP in Access Gateway

  1. In your browser, navigate to the Access Gateway Admin UI.

  2. Log in using your admin credentials provided by your deployment partner.

  3. Click the Settings tab.

  4. Click the Identity Providers tab in the left column menu.

  5. Click the + button, and Select OKTA.

  6. Enter an appAn abbreviation of application. Essentially, it is a web-based site used to perform any number of specific tasks, and requires authentication from end users by signing in. name in the Name field, fill out the Okta Org URL and Okta API Token fields with the value generated earlier, and click Not Validated.


  7. Once the Okta API Token is validated, the Not Validated button will turn green and change to [Validated].

  8. Click Okay.

  9. The Settings tab will now display your Okta IDP status; verify it displays a Valid status.


  10. Navigate to the Topology tab to test the IDP’s connection.

  11. Click the Okta IDP icon to be redirected to your Okta tenant.