Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Cody: add access token callback pages for CLI, Eclipse and VS#63849

Merged
olafurpg merged 1 commit into
mainfrom
olafurpg-cody-2661-create-dedicated-token-callback-page-for-cody-cli
Jul 16, 2024
Merged

Cody: add access token callback pages for CLI, Eclipse and VS#63849
olafurpg merged 1 commit into
mainfrom
olafurpg-cody-2661-create-dedicated-token-callback-page-for-cody-cli

Conversation

@olafurpg

@olafurpg olafurpg commented Jul 16, 2024

Copy link
Copy Markdown
Contributor

Fixes CODY-2661

Previously, only the JetBrains and Neovim Cody plugins had dedicated pages to authorize access token redirects to a localhost port. Other clients like the Cody CLI and Eclipse plugin reused the JetBrains page, which technically works but is problematic because the UI says the user is authorizing "JetBrains" when in reality they're authorizing other clients. This PR fixes the problem by adding dedicated pages for the Cody CLI, Eclipse plugin and Visual Studio extension.

Test plan

Didn't test this locally because it takes me a long time to setup Docker access. The diff is small and should be low-risk to merge. I manually searched for 'JETBRAINS' in this directory and confirmed there are no remaining special cases for JetBrains.

Changelog

Previously, only the JetBrains and Neovim Cody plugins had dedicated
pages to authorize access token redirects to a localhost port. Other
clients like the Cody CLI and Eclipse plugin reused the JetBrains page,
which technically works but is problematic because the UI says the user
is authorizing "JetBrains" when in reality they're authorizing other
clients. This PR fixes the problem by adding dedicated pages for the
Cody CLI, Eclipse plugin and Visual Studio extension.
@olafurpg olafurpg requested a review from a team July 16, 2024 09:23
@cla-bot cla-bot Bot added the cla-signed label Jul 16, 2024
@olafurpg olafurpg enabled auto-merge (squash) July 16, 2024 09:28
@olafurpg olafurpg merged commit 2d76833 into main Jul 16, 2024
@olafurpg olafurpg deleted the olafurpg-cody-2661-create-dedicated-token-callback-page-for-cody-cli branch July 16, 2024 09:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants