Skip to content
Back

User management question

  • 0
  • Flutter
  • Auth
  • Cloud
rlee128
4 Sep, 2025, 03:40

What is the best way to keep a user signed in between app restarts while having sessions expire every hour and beign refreshed? I try to call account.get() but if its over an hour the user is not signed in but it still shows in the console that there is a session for the user.

TL;DR
Developers are looking to keep users signed in between app restarts, with sessions refreshing every hour. Calling account.get() results in the user being signed out after an hour, despite the session still appearing active in the console.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more