Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User gets logged out of Firebase too frequently #37

Open
tedchwang opened this issue Nov 4, 2020 · 0 comments
Open

User gets logged out of Firebase too frequently #37

tedchwang opened this issue Nov 4, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@tedchwang
Copy link
Collaborator

tedchwang commented Nov 4, 2020

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:

  1. Log in to mipa and go to a model.
  2. Wait for 60 minutes.
  3. From a model node, Add new influencer, and enter a name for it.
  4. See that the new node is added but the link is not created.
  5. 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.
node not linked

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

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 86
@tedchwang tedchwang added the bug Something isn't working label Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant