How to disable MFA for Okta IdP?

I have integrated Okta as the Identity Provider (IdP) for my product, and when users log in, they are redirected to the Okta authentication page where they are prompted for their username, password, and Multi-Factor Authentication (MFA) via Okta Verify.

I need to automate the login process, but I want to bypass the MFA step (Okta Verify) to streamline testing and development. Is there a way to either:

  1. Disable MFA for automated login in a specific environment (e.g., in a development or testing environment)?

  2. Bypass or automate MFA (Okta Verify) when performing automated logins via the Okta IdP?

  3. Use an API or method to simulate Okta Verify without manually entering codes, possibly using a “test user” or “service account” setup that avoids MFA?

Please provide guidance on the best practices for handling MFA in such cases, or if there are any specific Okta settings, features, or configurations that can achieve this

If you need to you can set authentication policies to only require username/password.

This is not recommended / secure.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.