Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement authentication and secret storage capability #84

Merged
merged 8 commits into from
Sep 6, 2024

Conversation

abeatrix
Copy link
Collaborator

@abeatrix abeatrix commented Sep 5, 2024

CLOSE #72 https://linear.app/sourcegraph/issue/CODY-3619/implement-ivscredentialstorageservice-interface-for-storing-secrets https://linear.app/sourcegraph/issue/CODY-3618/agent-api-for-secret-storage-capability https://linear.app/sourcegraph/issue/CODY-3617/implement-agent-requests-for-secret-storage-capability

Try logout and then log back into Cody to confirm you can now use token redirect and secret storage via Agent:

image

This PR enables client capability for authentication (added in sourcegraph/cody#5325) and secrets (added in sourcegraph/cody#5348) that allows users to use the native webview for authentication in Cody for Visual Studio.

The protocols for secret storage operations have also been implemented and the secrets will be stored in IVsCredentialStorageService.

Demo:

vs_agent_auth.mp4

… capability - enable url handler and auth redirections)
@abeatrix abeatrix merged commit 32e933b into main Sep 6, 2024
1 check passed
@abeatrix abeatrix deleted the bee/secret-storage branch September 6, 2024 15:32
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.

Visual Studio: New Cody login screen is available instead of old.
2 participants