mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
d64106e01b
This PR adds a new development credentials provider for the purpose of streamlining local development against production collab. ## Problem Today if you want to run a development build of Zed against the production collab server, you need to either: 1. Enter your keychain password every time in order to retrieve your saved credentials 2. Re-authenticate with zed.dev every time - This can get annoying as you need to pop out into a browser window - I've also seen cases where if you re-auth too many times in a row GitHub will make you confirm the authentication, as it looks suspicious ## Solution This PR decouples the concept of the credentials provider from the keychain, and adds a new development credentials provider to address this specific case. Now when running a development build of Zed and the `ZED_DEVELOPMENT_AUTH` environment variable is set to a non-empty value, the credentials will be saved to disk instead of the system keychain. While this is not as secure as storing them in the system keychain, since it is only used for development the tradeoff seems acceptable for the resulting improvement in UX. Release Notes: - N/A |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |