General Security

Configure various global org security settings such as user notification emails, user enumeration prevention, and Okta ThreatInsight.

To access these settings in the Admin Console, go to SecurityGeneral.

Security Notification Emails

Configure notification emails for end users by going to SecurityGeneralSecurity Notification Emails.

For more information about email notifications and template customization, see Customize an email template.

If a notification email doesn't reach its recipient, an event that indicates the cause of the delivery failure (delivered, deferred, dropped, or bounced) appears in the System Log.

New sign-on notification email End users receive an email notification if they sign in from a new or unrecognized client. This email contains user sign-on details such as the web browser and operating system used to sign in, in addition to the time and location of authentication. See New sign-on notification emails for more information about the limitations for identifying new clients.

Note: This feature is disabled by default for new orgs.

For more information, see Sign-on notifications for end users.

Authenticator enrolled notification email End users are sent a confirmation email if they or an admin enroll in a new authenticator for their account.

Note: This feature is enabled by default for new orgs.

For more information, refer to Authenticator enrolled notification email for end users.

Authenticator reset notification email End users are sent an email if they or an admin reset an authenticator for their account.

Note: This feature is enabled by default for new orgs.

For more information, see Authenticator reset notifications for end users.

Password changed notification email End users receive an email notification if they change or reset the password for their account. This email contains password reset details such as the time and location of the password reset.

Note:

  • If an admin sets a temporary password, the end user receives an email notification only after they've changed their password from the temporary password.
  • End-user notifications for passwords reset using delegated authentication (DelAuth) isn't supported.
  • An email notification isn't sent to end users if the user is inactive.

For more information, refer to Password changed notification for end users.

New sign-on notification emails

New sign-on notification emails complement other security features such as authenticators and shouldn't act as a replacement. In most scenarios, clients are easily and accurately identified but there are some limitations.

Notification emails for a new device sign-in are triggered when a new client is identified based on an end user's browser cookies or fingerprint.

A client can be considered new in one or more of the following scenarios:

  • New browser type or version.
  • New operating system type or version.
  • New or updated application.
  • Unrecognized browser or operating system (appears as Unknown in the notification email).

A client isn't considered new when end users sign in to Okta using any browser type and with Okta FastPass.

New Device Behavior Detection requires the following:

If the authentication isn't recognized, end users should contact their admin immediately to investigate their account activity. The admin can perform actions such as terminating a user's sessions, locking the user's account, and adding authenticators to improve security.

Limitations

There are some limitations that present a challenge for identification. Enabling email notifications in addition to other identifiers such as a new IP address or new location provides improved accuracy when identifying suspicious activity on an end user's account.

The current limitations for identifying new clients are as follows:

  • Device fingerprints are captured after a successful sign-in.
  • New device notifications may be generated when there's a change to the user's operating system or browser.
  • New device notifications aren't generated for a sign-in initiated by non-Okta Identity Providers.
  • The device fingerprint is based on the browser in use. The end user receives a new device notification email if they sign in with a new browser type.
  • For mobile sign-ins, new device notification emails are sent based on the detection of a new mobile application and not the device used to sign in.
  • New device detection isn't always fully guaranteed.
  • End users may receive an unexpected new or unknown device notification email if they have not signed-in to their accounts within 40 days.

For more information about end-user notifications, see Customize an email template.

CAPTCHA integration

As an option to increase org security, Okta supports CAPTCHA to prevent automated sign-in attempts. You can integrate either of two services: hCaptcha or reCAPTCHA v2.

The vendor implementations supported by Okta are both invisible. They each run risk-analysis software in the background during sign-in to determine the likelihood that the user is a bot. This risk analysis is based on the settings that you configure for the service.

Before you configure your org to use CAPTCHA, sign in to the vendor of your choice or sign up for an account, and then follow the instructions:

For reCAPTCHA v2, select Invisible reCAPTCHA badge.

During your configuration of either service, you need to obtain a site key and secret key for your org configuration.

After creating a reCAPTCHA or hCAPTCHA service, be sure to specify your domains on the vendor’s service configuration page. For example:

  • If your web application is based on the customized domains myapp.com and testapp.com, you must specify each domain for your CAPTCHA service.
  • If your Sign-In Widget is Okta-based, you must add okta.com into the CAPTCHA service domain list.

To configure a CAPTCHA service in Okta:

  1. Create an API token, required to authenticate requests to Okta APIs. See Create an API token.
  2. In the Admin Console, go to SecurityGeneral.
  3. Configure the following settings in the CAPTCHA Integration section:
  • Type: Select the CAPTCHA service that you’re using.
  • Site key: Copy in the site key from your service configuration.
  • Secret key: Copy in the secret key from your service configuration.

Enable CAPTCHA for – Select one or more types of authentication for which you want to use CAPTCHA.

  • Sign Up: Users are prompted to pass CAPTCHA when first registering and signing in.
  • Password Reset: Users are prompted to pass CAPTCHA when resetting their password.
  • Sign On: Users are prompted to pass CAPTCHA when signing in.

Currently, CAPTCHA isn’t supported for Password Reset in identifier-first authentication flows. That is, when users enter passwords on a second sign-in page.

You can work around this limitation by changing the authentication flow so that users see the username and the password on the same page in the Sign-In Widget:

  • Ensure that your org doesn't use any Identity Providers for authentication. You may use the Okta option for AND Identity provider is in your Global Session Policy rules, but not the Specific IdP option.
  • All of your Global Session Policy rules have the Establish the user session with option set to A password.

See Add a global session policy rule and Sign-in flows for instructions.

  1. Click Save.

Troubleshooting

If you entered an incorrect service site key in the Okta configuration, users lose access to the Okta org. To reconfigure, first submit the following instructions to the CAPTCHA management public API.

Copy
curl -v -X PUT \ -H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: SSWS ${api_token}" \
-d '{"captchaId": null,
"enabledPages": null}'
"https://${yourOktaDomain}/api/v1/org/captcha"

Organization Security

Configure global organization settings by going to SecurityGeneralOrganization Security.

IP binding for Admin Console This setting associates admins with the IP address that they signed in from. If the IP changes during a session, the admin is signed out of Okta, and an event appears in the System Log.
Early Access release. See Enable self-service features.
Remember user on sign in This setting pre-populates the Username field on the Sign-In Widget. The end user is still required to authenticate. It doesn't remember recent MFA authenticators or previous sessions.
Stay signed in This setting lets users establish an Okta session that continues after they close and reopen their browser. Users who choose to stay signed in aren't prompted again for MFA for the amount of time defined in your global session policy. See Stay signed in.
Activation emails are valid for Sets the link expiry in the account activation email sent to end users. For more information about email notifications, see Customize an email template.
Enforce device binding for creating sessions Device binding ensures that redirect requests are used only in the browser where they were generated. You can disable this feature for compatibility with Classic Engine, but Okta recommends against it. If you disable this feature, Okta bypasses the checks that ensure state tokens are redeemed only by the actor who initiated the authentication flow.
Username match criteria on sign in This setting determines how a user profile is matched when they sign in. If you select Match entire username, users can't sign in unless they enter their full username including the domain. If you select Allow short match, users can sign in without their domain.
Users can view Recent Activity This setting enables the Recent Activity page for users. This page displays a user's recent sign-in activity and security events for their accounts.

Protect against password-based attacks

Require possession factor before password during MFA

When this feature is enabled, users are required to verify their identity with a possession factor before verifying with a password or other knowledge factor. This helps protect your org against password guessing or spray attacks.

When this feature is enabled, a user's preference for remembering their password as the last-used factor is overridden.

  1. In the Admin Console, go to SecurityGeneral.
  2. In the Protect against password based attacks section, click Edit.
  3. Select Enabled from the Require possession factor before password during MFA dropdown menu to enable this feature, or Disabled to disable it.
  4. Click Save.

Requiring a possession factor before a password doesn't take effect in the following scenarios:

  • When MFA isn't required

  • When enumeration prevention is enabled — email or password will always be first

  • When Classic Engine authentication endpoints are used

Block suspicious sign-in attempts from unknown devices

When this feature is enabled, your org blocks suspicious sign-in attempts from unknown devices. Users who sign in to Okta with devices they've used before aren't locked out if another device that is unknown to Okta causes a lockout.

  1. In the Admin Console, go to SecurityGeneral.
  2. In the Protect against password-based attacks section, click Edit.
  3. Select Enabled from the Block suspicious sign-in attempts from unknown devices dropdown menu to enable this feature, or Disabled to disable it.
  4. Click Save.

See Add a password policy for more information.

You can allow individual users to sign in using an unknown device. This helps users who may have lost their previous device sign in with a new, unknown device for the first time. See Allow unknown devices to sign in.

User enumeration prevention

When this feature is enabled, your org is protected against attackers who attempt to identify user accounts and authenticator enrollments. If the user doesn't exist or can't sign in, they receive an authenticator verification error. Okta doesn't verify that the account exists.

This feature is disabled by default. For information on end user sign-in attempts to Okta, see New sign-in experience.

  1. In the Admin Console, go to SecurityGeneral.
  2. In the User Enumeration Prevention section, click Edit.
  3. Preview Only: Select one or both of these options to enable user enumeration prevention:
    • Authentication: Enable or disable user enumeration prevention for user authentication attempts.
    • Recovery: Enable or disable user enumeration prevention for recovery scenarios.
  4. To disable user enumeration prevention, clear the checkboxes for Authentication and Recovery.
  5. Click Save.

User Enumeration Prevention doesn't take effect if either of the following conditions are allowed:

  • Self-Service Registration
  • JIT flows with email authentication

See User management for more information.

Okta ThreatInsight settings

Okta ThreatInsight aggregates data across the Okta customer base and uses this data to detect malicious IP addresses that attempt credential-based attacks.

To prevent abuse, Okta ThreatInsight is working in limited capacity for free trial editions. Contact OktaSupport if fully functional Okta ThreatInsight is required.

See Okta ThreatInsight for more details about this feature.

Related topics

Global session policies

HealthInsight

Okta ThreatInsight