Skip to content

Commit d50a693

Browse files
committed
feat: add editor parameter to auth redirect URL
1 parent 71577ac commit d50a693

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/utils/authenticate.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ async function redirectToLocalStack(): Promise<{ cancelled: boolean }> {
6969
// TODO: Gather environment variables in a safer way - e.g. during extension activation
7070
// biome-ignore lint/style/noNonNullAssertion: false positive
7171
const url = new URL(process.env.LOCALSTACK_WEB_AUTH_REDIRECT!);
72+
url.searchParams.set("editor", env.uriScheme);
7273
url.searchParams.set("windowId", redirectSearchParams.get("windowId") ?? "");
7374

7475
const selection = await window.showInformationMessage(

0 commit comments

Comments
 (0)