# Mimecast breaks silent authentication

**URL:** <https://community.auth0.com/t/mimecast-breaks-silent-authentication/117995>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [October 6, 2023, 3:18pm UTC](https://community.auth0.com/t/mimecast-breaks-silent-authentication/117995 "2023-10-06T15:18:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter23](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@peter23](https://community.auth0.com/u/peter23)\
**Post date:** [October 6, 2023, 3:18pm UTC](https://community.auth0.com/t/mimecast-breaks-silent-authentication/117995/1 "2023-10-06T15:18:56Z")

</div>

We have a client using Mimecast for their corporate email security. It seems to be disrupting the login session or state as they are having to continually login after closing their browser.

The experience is similar to these, although we are not using passwordless, [Mimecast triggering Passwordless OTP before getting to inbox](https://community.auth0.com/t/mimecast-triggering-passwordless-otp-before-getting-to-inbox/36884) and [Passwordless login breaks for many users on corporate e-mail domains](https://community.auth0.com/t/passwordless-login-breaks-for-many-users-on-corporate-e-mail-domains/56821).

We’ll be reaching out to the client to see if a whitelist policy can alleviate the problem but are there any workarounds on the Auth0 side? Can anyone explain what is happening? We’re using PCKE flow and refresh token rotation with reuse interval of 0. Would increasing the reuse interval help?

Our current theory we have is both Mimecast and then the actual user is using the same refresh token and causing a breech detection.

Thanks.

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [October 11, 2023, 10:08am UTC](https://community.auth0.com/t/mimecast-breaks-silent-authentication/117995/2 "2023-10-11T10:08:11Z")

</div>

Hey there @peter23 !

We could angle the problem from the perspective of access and refresh tokens storage options.

If the browser properties are leveraged to provide some storage persistence (so that refreshing or restoring a page with your app doesn’t result in a requirement to log in again), roughly two scenarios occur:

1. _local storage_ property is used which allows persistence over switching to different tabs with your app or reopening a browser.

If you have initiated your auth0 sdk with this option and still encounter the issue, it could potentially mean that some other process clears local storage once the browser is closed.

1. _page session storage_ / browser in-memory property is used which allows storing as long as a particular tab is open and (in case of some browsers) is immune to page reloads, but not persistent over switching to a different tab or reopening a browser.

If this logic is used in your app, the behaviour experienced by users seems to be **expected**.

I found this docs somehow relevant -

> **[Window: sessionStorage property - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)**
>
> The read-only sessionStorage
> property accesses a session Storage object for the current
> origin. sessionStorage is similar to
> localStorage; the difference is that while data
> in localStorage doesn't expire, data in sessionStorage is
> cleared...

> **[Token Storage](https://auth0.com/docs/secure/security-guidance/data-security/token-storage)**
>
> Learn how and where to store tokens used in token-based authentication.

---

<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:** [October 25, 2023, 10:08am UTC](https://community.auth0.com/t/mimecast-breaks-silent-authentication/117995/3 "2023-10-25T10:08:57Z")

</div>

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