Add organizationId to sign-in callback (#117)

This commit is contained in:
Matt Rubens 2025-06-22 06:24:34 -04:00 committed by GitHub
parent 012b2b1cc5
commit 84380bb436
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,11 @@ export default async function Page(props: Props) {
let editorRedirect = EXTENSION_URI_SCHEME;
try {
const params = new URLSearchParams({ state, code });
const params = new URLSearchParams({
state,
code,
organizationId: orgId,
});
editorRedirect = new URL(
`/auth/clerk/callback?${params.toString()}`,