This article clarifies how to configure an IP allowlist for an Okta Open Authorization (OAuth) API service app.
- OAuth API Service App
- Okta Identity Engine (OIE)
- Network Zones
- Access Policies
- In the Admin Console, go to Security > Networks.
- Click Add Zone > IP Zone.
- Enter a name for the zone.
- Enter the specific IP addresses of the API service.
- Go to Applications > Applications and select the OAuth service application.
- Select the General tab.
- In the General Settings section, select Edit.
- In the Allowed Grant Types section, ensure Client Credentials is selected.
- In the Client IP Restriction section, configure the application to trust the proxy if applicable. If the application is calling directly, this step ensures the IP address is correctly evaluated in the next step.
- Go to Security > Authentication > Sign On.
- Select the Global Session Policy tab (or Okta Sign-On Policy).
- Create a new policy.
- Assign this policy to the group that contains the service account.
-
Create a rule with the following settings:
-
Rule Name: Enter a name for the rule.
-
User's IP: Select In Zone and select the network zone created earlier.
-
Access: Select Allowed or Prompt for Factor.
-
