Skip to content

feat: make keyring opt-in and store token at login#835

Merged
EhabY merged 2 commits intomainfrom
feat/keyring-opt-in
Mar 16, 2026
Merged

feat: make keyring opt-in and store token at login#835
EhabY merged 2 commits intomainfrom
feat/keyring-opt-in

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Mar 12, 2026

  • Default coder.useKeyring to false (opt-in) due to shared logout side effects between CLI and IDE
  • Update setting description to document sync behavior and version requirements
  • Store token to OS keyring at login time so the CLI picks it up immediately
  • Show cancellable progress notification for all CLI keyring invocations during login
  • Migrate CliCredentialManager public API to options bag pattern with signal and keyringOnly support

Closes #836

@EhabY EhabY self-assigned this Mar 12, 2026
@EhabY EhabY force-pushed the feat/keyring-opt-in branch 3 times, most recently from 9b16970 to f734007 Compare March 13, 2026 14:04
@EhabY EhabY requested a review from DanielleMaywood March 16, 2026 10:33
- Default `coder.useKeyring` to false (opt-in) due to shared logout
  side effects between CLI and IDE
- Update setting description to document sync behavior and version
  requirements
- Store token to OS keyring at login time so the CLI picks it up
  immediately
- Show cancellable progress notification for all CLI keyring
  invocations during login
- Migrate CliCredentialManager public API to options bag pattern with
  signal and keyringOnly support
@EhabY EhabY force-pushed the feat/keyring-opt-in branch from f734007 to 30794d9 Compare March 16, 2026 15:28
Copy link
Collaborator

@DanielleMaywood DanielleMaywood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works on my machine ™️

@EhabY EhabY merged commit 7d85c05 into main Mar 16, 2026
6 checks passed
@EhabY EhabY deleted the feat/keyring-opt-in branch March 16, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make coder.useKeyring opt-in and store token at login

2 participants