Summary: | Unable to login ("Der Zugriffstoken ist ungültig" / "The access token is invalid") | ||
---|---|---|---|
Product: | [Applications] Tokodon | Reporter: | Vincent Wilms <kde> |
Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carl, josh |
Priority: | NOR | ||
Version First Reported In: | 24.05.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/tokodon/-/commit/a5c784af6760f53097bd0ac992db0159e9bcb12e | Version Fixed In: | 24.12 |
Sentry Crash Report: | |||
Attachments: | Tokodon Issue |
Description
Vincent Wilms
2024-08-08 20:48:29 UTC
Can you open KWalletManager and see if the access token is still in there? It should be under the "Tokodon" folder. Something else worth trying is checking the Mastodon server, going under Account > Authorized apps and checking if Tokodon is still authorized there. (In reply to Joshua Goins from comment #1) > Can you open KWalletManager and see if the access token is still in there? > It should be under the "Tokodon" folder. > > Something else worth trying is checking the Mastodon server, going under > Account > Authorized apps and checking if Tokodon is still authorized there. Thank you, the access token is not there. I could be that I deleted in during my trials to use KeePassXC as a replacement for KWallet. Tokodon is still authorized in the Mastodon server. What can I do next? (In reply to Vincent Wilms from comment #2) > (In reply to Joshua Goins from comment #1) > > Can you open KWalletManager and see if the access token is still in there? > > It should be under the "Tokodon" folder. > > > > Something else worth trying is checking the Mastodon server, going under > > Account > Authorized apps and checking if Tokodon is still authorized there. > > Thank you, the access token is not there. I could be that I deleted in > during my trials to use KeePassXC as a replacement for KWallet. Tokodon is > still authorized in the Mastodon server. What can I do next? It should be easy now, access the settings menu in the top left (the same one you would use when logged in) and log out of the account. Then you should be able to log back in as normal. Note that this should be vastly improved in the next version, I put a "Log out" button right on the error page :-) If you somehow cannot log out inside of Tokodon, it should be possible to remove tokodonstaterc from the flatpak data dir. It should be in an org.kde.tokodon folder somewhere in ~/.var Thank you! I was able to log out and log in again, but the error remained. I then deleted ~/.var/app/org.kde.tokodon/data/KDE/tokodon/tokodonstaterc and logged in another time. Now it works :-) I have seemed to fix this bug, and asked for one of the KDE Flatpak maintainers to backport the fix. I successfully went from (fixed) 24.08 -> 24.12 -> git master now without the access token disappearing. (In reply to Joshua Goins from comment #5) > I have seemed to fix this bug, and asked for one of the KDE Flatpak > maintainers to backport the fix. I successfully went from (fixed) 24.08 -> > 24.12 -> git master now without the access token disappearing. That's great, thank you! |