Test your attack protection policy

Safely check your attack protection policy configurations using a designated test user agent that triggers the policy evaluation.

About this task

Early Access release

Before you begin

  • Configure an attack protection policy for authentication flows with Okta Challenge.

Procedure

  1. Go to your sign-in page.
  2. Enter your username, and then click Next.
    Attack protection doesn't run because the system doesn't detect you as a bot.
  • Change your user agent for Google Chrome
    1. Click Back to sign in.
    2. Right-click the page, and then click Inspect.
    3. At the top of the Inspect panel, click the three dots icon, and then select More tools.
    4. Select Network conditions. A new panel with the User agent section shows that you're using the browser's default.
    5. Clear the Use browser default checkbox.
    6. In the User agent field, enter OktaBotTest/1.0.
    7. Refresh the sign-in page.
    8. Enter your username again, and then click Next.
      Attack protection runs because the system detects this sign-in as a bot.
    9. Clear the User agent field and select the Use browser default checkbox.