twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.8k stars 1.73k forks source link

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

Closed neilk17 closed 3 days ago

neilk17 commented 1 week ago

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:

Bonapara commented 1 week ago

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

ehconitin commented 1 week ago

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 commented 1 week ago
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 commented 1 week ago

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

Bonapara commented 1 week ago

@Weiko any idea on this one?

BOHEUS commented 1 week ago

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

FelixMalfait commented 3 days ago

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