# Web Viewer authentication lost continuously in Windows

**URL:** <https://the.fmsoup.org/t/web-viewer-authentication-lost-continuously-in-windows/3531>\
**Category:** Questions\
**Tags:** web\_viewer, windows, winos\
**Created:** [April 27, 2023, 9:22pm UTC](https://the.fmsoup.org/t/web-viewer-authentication-lost-continuously-in-windows/3531 "2023-04-27T21:22:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [April 27, 2023, 9:22pm UTC](https://the.fmsoup.org/t/web-viewer-authentication-lost-continuously-in-windows/3531/1 "2023-04-27T21:22:44Z")

</div>

I use a web viewer to login to Xero accounting. It requires a login with a 2FA. On Mac OS we can move around freely without problems. On Win OS we get logged out as soon as we move around. This means constant re-login, and the 2FA check. It's not fun.

Has anyone else seen this sort of problem? And found any solution?

---

<div class="post-metadata">

**Author:** ![AndyHibbs](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/andyhibbs/32/3089_2.png) [@AndyHibbs](https://the.fmsoup.org/u/AndyHibbs)\
**Post date:** [April 27, 2023, 9:41pm UTC](https://the.fmsoup.org/t/web-viewer-authentication-lost-continuously-in-windows/3531/2 "2023-04-27T21:41:35Z")

</div>

We’ve experienced similar problems with the latest version of Edge accessing the FileMaker Server admin console. No changes were made to the FileMaker servers, yet the behaviour has changed on many Windows servers recently, requiring multiple logins after constantly being kicked out.

Maybe an Edge problem, or are you referring to Chrome (which we don’t use)?

---

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [April 27, 2023, 9:43pm UTC](https://the.fmsoup.org/t/web-viewer-authentication-lost-continuously-in-windows/3531/3 "2023-04-27T21:43:32Z")

</div>

It’s a standard windows installation, so I assume the web viewer is running edge.

---

<div class="post-metadata">

**Author:** ![xochi](https://avatars.discourse-cdn.com/v4/letter/x/0ea827/32.png) [@xochi](https://the.fmsoup.org/u/xochi)\
**Post date:** [April 27, 2023, 10:29pm UTC](https://the.fmsoup.org/t/web-viewer-authentication-lost-continuously-in-windows/3531/4 "2023-04-27T22:29:06Z")

</div>

I would assume modern FileMaker Web Viewer is using WebView2 which would be the Edge engine underneath. See [https://developer.microsoft.com/en-us/microsoft-edge/webview2/](https://developer.microsoft.com/en-us/microsoft-edge/webview2/)

Andy's experience would be consistent with this if there has been some change in how Edge is handling authentication.

@Malcolm do you know how Xero handles authentication? Is it cookie-based or some other system?

---

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [April 27, 2023, 11:00pm UTC](https://the.fmsoup.org/t/web-viewer-authentication-lost-continuously-in-windows/3531/5 "2023-04-27T23:00:50Z")

</div>

> [@xochi](#):
>
> @Malcolm do you know how Xero handles authentication? Is it cookie-based or some other system?

Yes, Xero is cookie based. In the [requirements to use Xero](https://central.xero.com/s/article/What-do-I-need-to-be-able-to-use-Xero) it specifies that the browser must accept cookies and javaScript must be turned on.

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [April 28, 2023, 6:43am UTC](https://the.fmsoup.org/t/web-viewer-authentication-lost-continuously-in-windows/3531/6 "2023-04-28T06:43:15Z")

</div>

Maybe you like to check what cookies are set with [WebView.AllCookies](https://www.mbsplugins.eu/WebViewAllCookies.shtml) function in [MBS plug-in](https://www.monkeybreadsoftware.com/filemaker/).

And of course if it helps to pretend to be a real browser with [WebView.SetCustomUserAgent](https://www.mbsplugins.eu/WebViewSetCustomUserAgent.shtml).
