# Keep getting automatically logged out of forest admin losing all my context

**URL:** <https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187>\
**Category:** Help me!\
**Created:** [March 29, 2021, 11:20am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187 "2021-03-29T11:20:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [March 29, 2021, 11:20am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/1 "2021-03-29T11:20:28Z")

</div>

This is a template you can use to report issues. You can also drag images, videos and include `Preformatted text`

## Expected behavior

In the past I could have multiple tabs of forest admin open, which I’d use while dealing with various tasks. This would be helpful if I get distracted and want to come back to dealing with something.

## Actual behavior

Suddenly in the last 1-2 weeks, I keep on getting automatically logged out of Forest Admin across all tabs one or more times a day. It usually happens after my computer goes to sleep, or after opening up my laptop at the beginning of each work day.

## Context

Chrome 89.0.4389.90 on macOS v11.2.3

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [March 29, 2021, 11:27am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/2 "2021-03-29T11:27:38Z")

</div>

Hello @dig.

Thanks for your feedback. We are working on a fix on a bug that appears after the computer goes into sleep mode. We already released a partial fix that allow you to stay connected on Forest Admin, but displays a popup saying that you have been disconnected from the liana.

Is it your case, or are you logged out of Forest Admin completely?

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [March 29, 2021, 11:47am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/3 "2021-03-29T11:47:57Z")

</div>

Sometimes I see the pop-up saying “disconnected” but after logging back in it just takes me to the default collection and I lose whatever context existed before being disconnected.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [March 29, 2021, 12:33pm UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/4 "2021-03-29T12:33:50Z")

</div>

Ok, thanks for your feedback. We are working on a fix right now. I’ll keep you posted when it will be released.

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [April 15, 2021, 6:12am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/5 "2021-04-15T06:12:11Z")

</div>

@GuillaumeGautreau any update on this?  
Suddenly over the last week, I’m also finding that when I log back in, its logging me in to a random Team instead of taking me back to the same team I was in before being logged out.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [April 15, 2021, 7:14am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/6 "2021-04-15T07:14:08Z")

</div>

Hello @dig,

The first issue should have been solved right now. Did you noticed the same behavior?

Can you open a new thread for the second issue? I never heard of this problem, but I’m interested in getting more details about this problem.

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [April 15, 2021, 8:34am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/7 "2021-04-15T08:34:27Z")

</div>

On the first issue – I’m no longer seeing the pop-up saying “disconnected”, but rather I am completely logged out and redirected to [https://app.forestadmin.com/login](https://app.forestadmin.com/login) where have to relogin with my google account.

On second issue – will do.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [April 15, 2021, 9:28am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/8 "2021-04-15T09:28:11Z")

</div>

Can you spot a scenario that leads to you disconnection? I would like to reproduce this issue on my end.

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [April 15, 2021, 2:41pm UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/9 "2021-04-15T14:41:31Z")

</div>

@GuillaumeGautreau it currently happens every morning when I start working. I don’t think it occurs during the day but will keep an eye out for if it also occurs during the day

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [April 16, 2021, 8:52am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/10 "2021-04-16T08:52:26Z")

</div>

I have some questions to reproduce this issue:

- which browser do you use?
- can you describe how you re-access to Forest-Admin in the morning? Do you simply click on the already opened tab, or do you start up your computer, relaunch your browser etc?

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [April 16, 2021, 9:04am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/11 "2021-04-16T09:04:56Z")

</div>

@GuillaumeGautreau Chrome on Mac.  
I simply click on the already opened tab (the browser is kept open and my computer simply put to sleep overnight)

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [April 16, 2021, 9:07am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/12 "2021-04-16T09:07:50Z")

</div>

Ok, I’ll try to reproduce this scenario on my end.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [April 16, 2021, 11:33am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/13 "2021-04-16T11:33:52Z")

</div>

Ok, I could reproduce this issue. I’m working on a fix.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [April 20, 2021, 11:35am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/14 "2021-04-20T11:35:04Z")

</div>

Hello @dig,

We released a fix today, you’ll need to have the latest version of the frontend for it to be effective.

Could you please confirm that your issue has been fixed?

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [May 12, 2021, 5:56am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/15 "2021-05-12T05:56:19Z")

</div>

Hi @GuillaumeGautreau  
This issue recurred today when I opened my laptop after being asleep. And similarly, after logging in, I was logged into another team that I was not logged into before

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [May 12, 2021, 8:26am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/16 "2021-05-12T08:26:02Z")

</div>

Hi @dig, thanks for your follow-up on this.

Regarding the unwanted log out, could you please answer these questions:

- What is your project’s name? Some configurations regarding the security depend on the project
- For how long (approximatively) was your computer asleep?
- Did you have multiple tabs open?

I also think that your second issue worth being investigated, I’ll take a look at it too.

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [May 12, 2021, 8:59am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/17 "2021-05-12T08:59:05Z")

</div>

Bridgement.1  
Asleep over night (~12-14 hours)  
Yes had multiple tabs open

Second issue was also posted separately a while back but not sure if they looked into it

> [@When logging in I am being taken to a random Team instead of the team I was in before being logged out](https://community.forestadmin.com/t/when-logging-in-i-am-being-taken-to-a-random-team-instead-of-the-team-i-was-in-before-being-logged-out/2322):
>
> Expected behavior When logging back in (after being auto-logged out) I expected to be taken to the same Team I was viewing before being logged out. Actual behavior Suddenly over the last week, when I log back in (after being auto-logged out), its logging me in to a random Team instead of taking me back to the same team I was in before being logged out. The team it logs me back into happens to be the 6th team on my list of 7 teams. Context Package Version: 7.3.5 Express Version: 4.17.1 Sequ…

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [May 12, 2021, 9:42am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/18 "2021-05-12T09:42:49Z")

</div>

Ok, thanks, I’ll try to reproduce your disconnection bug.

And I created a ticket to solve your second issue. I don’t know when we will fix it, but we will definitively work on it.

---

<div class="post-metadata">

**Author:** ![dig](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/dig/32/620_2.png) [@dig](https://community.forestadmin.com/u/dig)\
**Post date:** [May 28, 2021, 4:11am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/19 "2021-05-28T04:11:59Z")

</div>

Hi @GuillaumeGautreau both of these issues resurfaced this morning again when I opened my laptop

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [May 28, 2021, 6:57am UTC](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187/20 "2021-05-28T06:57:31Z")

</div>

Hello @dig,

Thanks for the feedback. We are working on both subjects. A fix about loosing the context is on its way, and we have identified the cause of log outs, we are working a resolution of this issue.

[Next page](https://community.forestadmin.com/t/keep-getting-automatically-logged-out-of-forest-admin-losing-all-my-context/2187.md?page=2)
