mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #8254] [Bug] Frequent login prompts #3692
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#3692
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lalomartins on GitHub (Oct 4, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8254
Bug Description
I use the app on desktop (Windows 11, two computers) and Android. Recently, I find it asks me to log in every other day more or less. It's the same whether I log in with password or magic link.
I hope it's a bug and not intentional. Please don't be one of those annoying apps that wants frequent logins “for security”, that's an instant uninstall for me. An app like this needs to be convenient to use.
How to Reproduce
Log in on Windows 11 or Android, then wait a few days.
Expected Behavior
App is still logged in. Should remain logged in for months, maybe a year or so.
Operating System
Windows 11, Android 16
AppFlowy Version(s)
0.10.0
Screenshots
No response
Additional Context
No response
@annieappflowy commented on GitHub (Oct 5, 2025):
The session lasts for 1 week, and it will refresh every time you open the app.
Can you share the log file so we can take a closer look into this issue?
How to export logs:
Settings -> Manage data -> Export log files
@lalomartins commented on GitHub (Oct 5, 2025):
Hi Annie.
A week is way too short for an app. I don't think I have any other apps that log me out that often (other than banks, password managers, and stuff, and those make it easy to reauthenticate with biometrics).
@lalomartins commented on GitHub (Oct 5, 2025):
While we're at it — AppFlowy is particularly egregious because it's also not compatible with my password manager (or probably, with any). I have to manually open the password manager to copy the password, or open the email client for the magic link. This creates a lot of friction when I just wanted to jot down a quick note, at which point I might have forgotten what I wanted to write, or worse maybe I just wanted to check a note and this ended up taking more time than would be reasonable. If I was still evaluating the app, this friction would push me to just use other alternatives instead.
@annieappflowy commented on GitHub (Oct 5, 2025):
If you open it every week, it will keep you logged in. The one-week expiry only applies when you don’t use it weekly.
@annieappflowy commented on GitHub (Oct 5, 2025):
Not following the above mentioned logic is for sure a bug we should look into.
@lalomartins commented on GitHub (Oct 5, 2025):
I see. Then maybe my problem is using multiple apps? 🤔 But IDK, I'm pretty sure I used my desktop app less than a week ago on the personal PC. Also… can't possibly have been a week on mobile? Maybe I'm just old 😹
I'm not comfortable uploading the logs here as I see they have private data. I can email them if you think it's helpful, but here are the lines that look relevant:
Personally I still think a week might be a little rough for an app, for use cases like this — where one or more of the app instances are secondary and therefore used less often. Maybe a month or so would be better? A week (or even 2 days) sounds reasonable for the web version, not for an app.
Meanwhile, it would be nice to make sure the login flow is compatible with password managers on mobile. Should I make a separate ticket for that?
@annieappflowy commented on GitHub (Oct 5, 2025):
We will take a look at why the pwd manager doesn't work on the login screen.
Could you please send the log file to support at appflowy.io?
Thank you so much for providing the feedback.
@lalomartins commented on GitHub (Oct 5, 2025):
Wait, my debugging senses are tingling, I have a wild hypothesis.
Does it only renew the token when I launch the app? Because I'm one of those hibernate users, so typically I'll launch it and leave it running for days. I usually only fully shutdown when I leave town, and only reboot when there's a windows update (or something else asking me to reboot, and then I do it groaning and grumbling). So… next time I reboot and launch the app, it will be almost certainly more than a week since I did it for the first time, even though I was actively using it just a couple of hours ago.
@zmascetta commented on GitHub (Oct 7, 2025):
I am also experiencing this. I haven't formally timed it, but it seems if I go more than 24 hours without opening the app, it will terminate my session and force me to log in again. I am on Fedora Kinoite, app version 0.10.0 (Flatpak version).
@appflowy commented on GitHub (Oct 8, 2025):
@lalomartins Could you share your device logs with me? If so, please send them to me directly on Discord.
When a token is refreshed, you should see a log message like: “Token is about to expire xxx.”
@vendornet commented on GitHub (Oct 8, 2025):
I have the same issue. I am self hosting with the latest versions of the docker containers - 0.9.139. I have the issue with the app on Mac (0.10.0) and iPhone (0.10.1).
The issues started 2-3 weeks ago after version 0.9.8 I believe of the apps.
It might be related to bug in the refresh token or something else like dropping the session all together.
Edit: The web version works as expected and stays logged in.
@rebelist commented on GitHub (Oct 8, 2025):
Same here, I open the client macos app daily but got prompted with password more often recently. So there can be an issue with the refresh token.
@lalomartins commented on GitHub (Oct 8, 2025):
@appflowy sorry for the late reply, I was moving and only now I got my PC set up again. Good news is since I haven't opened AppFlowy on the phone in a few days, there's a good chance it will manifest again. Can you DM me on discord what logs you want and how to get them? (Link is fine.) I'll hold on opening the app until then.
@appflowy commented on GitHub (Oct 9, 2025):
@lalomartins I will build a debug package for you. You can have a try. The logout issue should be fixed.
@vendornet commented on GitHub (Oct 19, 2025):
@appflowy I have downloaded the latest iOS client 0.10.2(3) and the issue seems to be resolved. Con you push the update to the desktop clients as well?
@annieappflowy commented on GitHub (Oct 20, 2025):
@vendornet , please reopen if the issue still persists