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

Automatic Logout and Recurring Fetch Errors Toast on Twenty Tab After Inactivity #6901

Closed
neilk17 opened this issue Sep 5, 2024 · 7 comments

Comments

@neilk17
Copy link

neilk17 commented Sep 5, 2024

Description:

Issue: After a period of inactivity on the Twenty Tab I get automatically logged out.

And I keep seeing a repeated toast notifications displaying fetch errors.

Expected Behavior:

  • No error toast should appear
@Bonapara
Copy link
Member

Bonapara commented Sep 5, 2024

Thanks for raising this issue. Can you provide the error @neilk17?

@ehconitin
Copy link
Contributor

Thats meant to be that way @neilk17
For now, If you dont want to get logged out frequently just increase the EXPIRES_IN tokens in .env of twenty-server
for eg

image

@neilk17
Copy link
Author

neilk17 commented Sep 5, 2024

Screenshot 2024-09-05 at 4 10 44 PM

Thank you for the response - I'll update that!

But those toasts are the bug

@ehconitin
Copy link
Contributor

@Bonapara
If token is expired should those toasts appear? i dont think so .
They dont appear if u manually logout.
:)

@Bonapara
Copy link
Member

Bonapara commented Sep 5, 2024

@Weiko any idea on this one?

@BOHEUS
Copy link
Contributor

BOHEUS commented Sep 5, 2024

@Bonapara @Weiko I already reported the same issue in #6731 and #6732

@FelixMalfait
Copy link
Member

Thanks for the report! I'll close this issue to keep #6731 which we'll set as high priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

5 participants