@Hakim Hi, You can take a look of the remember me feature in Okta signin widget.
The Okta Auth SDK is used by Okta’s Sign-in Widget which powers the default Okta sign-in page. If you’re building SPA, the Auth SDK gives you added control and customization beyond what is possible with the Widget.
Let me know if this sth you are looking for.