# Add stay login to universal login form

**URL:** <https://community.auth0.com/t/add-stay-login-to-universal-login-form/77104>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [January 27, 2022, 4:51am UTC](https://community.auth0.com/t/add-stay-login-to-universal-login-form/77104 "2022-01-27T04:51:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![n3ws](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/n3ws/32/34711_2.png) [@n3ws](https://community.auth0.com/u/n3ws)\
**Post date:** [January 27, 2022, 4:51am UTC](https://community.auth0.com/t/add-stay-login-to-universal-login-form/77104/1 "2022-01-27T04:51:10Z")

</div>

I want to add stay login function to the login form through a checkbox, how do I do that? someone help

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [January 31, 2022, 10:21pm UTC](https://community.auth0.com/t/add-stay-login-to-universal-login-form/77104/2 "2022-01-31T22:21:54Z")

</div>

Hi @n3ws , welcome to the community!

By default, a user’s session is persisted on the Auth0 server for as long as your tenant’s session lifetime settings allow:

> **[Configure Session Lifetime Settings](https://auth0.com/docs/manage-users/sessions/configure-session-lifetime-settings)**
>
> Describes how to configure session lengths and limits for a tenant using the Auth0 Dashboard or the Management API.

Alternatively, you can change to using non-persitent sessions so the user has to log in again to Auth0 when they close their browser.

> **[Non-Persistent Sessions](https://auth0.com/docs/manage-users/sessions/non-persistent-sessions)**
>
> Describes non-persistent sessions available with Auth0.

This is currently a tenant wide setting, and cannot be changed on a per-user / per login basis, so I’m afraid there isn’t a way to provide a checkbox to change this setting within the Universal Login page.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 15, 2022, 10:22pm UTC](https://community.auth0.com/t/add-stay-login-to-universal-login-form/77104/3 "2022-02-15T22:22:37Z")

</div>

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