-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Describe the bug
After a user logs in to mipa, she would lose authentication after one hour. This happens even with constant interaction with the app. The lose of authentication is only noticed when a write to Firestore fails (the write to local Firestore cache still works).
To Reproduce
Steps to reproduce the behavior:
- Log in to mipa and go to a model.
- Wait for 60 minutes.
- From a model node, Add new influencer, and enter a name for it.
- See that the new node is added but the link is not created.
- Refresh the page and get redirected to the login page.
Expected behavior
I expect that adding a new influencer would complete successfully, or let me know as soon as I'm logged out of Firebase (assuming that's the problem).
Screenshots
In the screenshot below, we see a node (the orange one) that was supposed to be added as an influencer to another, yet the link is not created after the node is created.

In another case, the link is added but the new node's color did not change from orange to green.

Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Version: 86