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.
- Okta Identity Engine (OIE)
- Customizations
- Sign-in Page
Modify the sign-in page code within the Okta Admin Console to specify a custom destination URL for the expired email OTP scenario.
- In the Okta Admin Console, navigate to Customizations > select Brands.
- Choose the custom domain.
- Navigate to Pages, and then select Sign-in page.
- Select Configure, and then choose Edit.
- Scroll to the bottom of the code editor and add the following code snippet:
config.backToSignInLink = 'https://support.okta.com/';
6. Save the configuration. The Back to sign in link now redirects to the specified URL and not to the user dashboard.
