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
-
Go to your sign-in page.
-
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-
Click Back to sign in.
-
Right-click the page, and then click Inspect.
-
At the top of the Inspect panel, click the three dots icon, and then select More tools.
-
Select Network conditions. A new panel with the User agent section shows that you're using the browser's default.
-
Clear the Use browser default checkbox.
-
In the User agent field, enter
OktaBotTest/1.0.
-
Refresh the sign-in page.
-
Enter your username again, and then click Next.
Attack protection runs because the system detects this sign-in as a bot.
-
Clear the User agent field and select the Use browser default checkbox.