# Users are authenticated despite the choice not to be remembered

**URL:** <https://community.auth0.com/t/users-are-authenticated-despite-the-choice-not-to-be-remembered/77489>\
**Category:** Get Help\
**Created:** [February 2, 2022, 1:39pm UTC](https://community.auth0.com/t/users-are-authenticated-despite-the-choice-not-to-be-remembered/77489 "2022-02-02T13:39:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidjohanssonbf](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/davidjohanssonbf/32/34864_2.png) [@davidjohanssonbf](https://community.auth0.com/u/davidjohanssonbf)\
**Post date:** [February 2, 2022, 1:39pm UTC](https://community.auth0.com/t/users-are-authenticated-despite-the-choice-not-to-be-remembered/77489/1 "2022-02-02T13:39:07Z")

</div>

My users are authenticating through Microsoft Azure AD enterprise connection and it works great except for one scenario. The users are authenticated despite the choice not to be remembered.

When signing in, the users will be prompted with the question below. If the user clicks “Never” and “No” the expected behavior is, if the user closes the browser and enter the SPA again, they should not be authenticated, but they are.

When I have tested this I have done it in a browser session with cleared cache. I have set the lifetime of my access\_token to be 5 minutes, still after 5 minutes the users are authenticated despite clicking “Never” and “No”.

Any suggestions on how to solve this?

 ![stay-signed-in-edit](https://global.discourse-cdn.com/auth0/original/3X/0/2/029a83609b99df9a477f5bee6a81131b52df3480.png)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 22, 2022, 10:12pm UTC](https://community.auth0.com/t/users-are-authenticated-despite-the-choice-not-to-be-remembered/77489/3 "2022-02-22T22:12:59Z")

</div>

Hi @davidjohanssonbf,

Welcome to the Auth0 Community!

Sorry for the delayed response. It looks like you are declining the IdP (Azure AD) persistent session, and not allowing Chrome to set a password. That all makes sense.

Have you [Configure Session Lifetime Settings](https://auth0.com/docs/manage-users/sessions/configure-session-lifetime-settings) in the Auth0 dashboard?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 8, 2022, 4:40pm UTC](https://community.auth0.com/t/users-are-authenticated-despite-the-choice-not-to-be-remembered/77489/4 "2022-04-08T16:40:16Z")

</div>


