Skip to content

Commit 84380bb

Browse files
authored
Add organizationId to sign-in callback (#117)
1 parent 012b2b1 commit 84380bb

File tree

1 file changed

+5
-1
lines changed
  • apps/web/src/app/(centered)/extension/sign-in

1 file changed

+5
-1
lines changed

apps/web/src/app/(centered)/extension/sign-in/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ export default async function Page(props: Props) {
4343
let editorRedirect = EXTENSION_URI_SCHEME;
4444

4545
try {
46-
const params = new URLSearchParams({ state, code });
46+
const params = new URLSearchParams({
47+
state,
48+
code,
49+
organizationId: orgId,
50+
});
4751

4852
editorRedirect = new URL(
4953
`/auth/clerk/callback?${params.toString()}`,

0 commit comments

Comments
 (0)