Okta Sign In Widget shows 'You have been logged out due to inactivity' error but logs in automatically after reload

I am facing issue issue with okta sign in widget with following scenario.

User is logging in through okta sign in widget, inserts his emailId but after that no action is taken on screen for 6 mins after that he enters the password.
then okta widget shows error as “Your session has expired. Please try to sign in again.”.
which is right , but even if i put email and password after this it shows an error as “You have been logged out due to inactivity. Refresh or return to the sign in screen.”.

and on this screen if we reload the page it gets automatically logged in.

The problem you’re facing appears to be related to session handling in the Okta Sign-In Widget.

  1. 6-minute timeout: This is normal behavior due to Okta’s session lifetime settings.
  2. Error after timeout: Likely caused by improper handling of expired sessions in the widget configuration.
  3. Auto-login on reload: Suggests a valid session still exists server-side

Check if all the browser tabs doesn’t have any valid sessions, and try again!

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