You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expiring GitHub logins are renewed: with "Expire user authorization tokens" on in the GitHub App, a login lasts 8 hours and comes with a refresh token that lasts 6 months. Mod Synchronizer renews the token shortly before it runs out, without a client secret (GitHub does not ask for one with tokens from the device flow). Once the refresh token is gone or withdrawn, the next sync asks for a new login.
Changed
The login is kept encrypted: on Windows, ~/.modsync/github-token is encrypted with DPAPI, the protection the Windows credential manager uses, so only the same Windows account can read it. Elsewhere only its owner may read it. A plain file from before, or an access code written into it by hand, is encrypted at the next start.