<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

Okta Email Authenticator Does Not Adhere to Configured Challenge Lifetime

Administration
Okta Identity Engine

Overview

When the email challenge lifetime exceeds five minutes, the session may still expire after five minutes because the customized email template lacks the email authentication button and link. Adding the missing code to the email template resolves the issue. When the session expires, Okta generates the following error:

 

Your session has expired. Please try to log in again.

 

Applies To

  • Okta Identity Engine (OIE)
  • Customized Email Template
  • Email challenge lifetime

Cause

The customized email template is missing the email authentication button and link. Okta requires the email authentication button and link to operate with the customized value in the Okta Dashboard.

Solution

What resolves the email authenticator challenge lifetime issue?

To resolve the issue, add the missing email authentication button and link code to the customized email template.

<tr style="display:none">
<td >
<a id="email-authentication-button" href="${emailAuthenticationLink}">
</a>
</td>
</tr>

NOTE: Setting the style to display:none prevents the button from displaying while still allowing for the correct behavior.

Related References

Loading
Okta Email Authenticator Does Not Adhere to Configured Challenge Lifetime | Okta Support