<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Change the Back to Sign In URL After an Email OTP Expires in Okta

Okta Identity Engine
Authentication

Overview

When an email One-Time Password (OTP) expires, the Back to sign in link typically redirects to the dashboard. Administrators can change this destination URL by modifying the sign-in page code in the Okta Admin Console. The Back to sign in link only appears when selecting Sign in after the email OTP expires.

 

Email   Email 

 

Applies To

  • Okta Identity Engine (OIE)
  • Customizations
  • Sign-in Page

Solution

Modify the sign-in page code within the Okta Admin Console to specify a custom destination URL for the expired email OTP scenario.

  1. In the Okta Admin Console, navigate to Customizations > select Brands.
  2. Choose the custom domain.
  3. Navigate to Pages, and then select Sign-in page.
  4. Select Configure, and then choose Edit.
  5. Scroll to the bottom of the code editor and add the following code snippet:
config.backToSignInLink = 'https://support.okta.com/';

Script 

       6. Save the configuration. The Back to sign in link now redirects to the specified URL and not to the user dashboard.

Loading
Okta Support - Change the Back to Sign In URL After an Email OTP Expires in Okta