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
Are you mounting your data directory (~./local/share/code-server by default)? If the contents are not being persisted between Docker restarts then code-server will be unable to access the previous auth token.
Are you mounting your data directory (~./local/share/code-server by default)? If the contents are not being persisted between Docker restarts then code-server will be unable to access the previous auth token.
Yes, we mount the home dir (~). But it still requires github login each time. Which file stores the github auth?
The actual GitHub auth token is stored in browser storage, but it is encrypted and half of the key is in ~/.local/share/code-server/serve-web-key-half. The other half of the key is also in browser storage, I believe.
So as long as the server key half is the same and the browser is the same the login should persist.
Also, what version of code-server are you running? Persistent secret storage was broken before 4.17.1.
Is there an existing issue for this?
OS/Web Information
code-server --version
:Steps to Reproduce
Expected
remember my github auth for copilot
Actual
no
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over a secure context?
Notes
No response
The text was updated successfully, but these errors were encountered: