This article discusses how to get "Keep Me Signed In" working in the Okta Sign-in Widget.
- Redirect flow
- Okta Identity Engine (OIE)
- Okta-hosted Widget < V7.7.0 (There is no need to make this change in newer versions of the Sign in Widget)
Follow the steps or video below:
- The Remember Me was changed to Keep me signed in, as mentioned in the change summary of the Sign-In Widget.
- To enable the Keep me signed in function while in the custom widget, the settings in Security > General should be enabled, as mentioned in the General Security documentation.
- Admins might also see the Show option to stay signed in before users sign in, under Remember user on sign in. This option needs to be enabled as well for the box to appear.
- The following code needs to be added in case of having multiple brands to the sign-in page code editor in Customization > Brands > Sign-in page:
if (config.features.rememberMe == true) { config.features.rememberMyUsernameOnOIE = true; }
The ascheckbox to Keep me signed in should show in the widget, as in the following screenshot:
