Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix(auth): add newUserCallbackURL to desktop Google OAuth flow

Gabriel Stein146e366b6983
diff --git a/src/lib/neonAuth.ts b/src/lib/neonAuth.ts
index 6d80c7c0c..47b161d7a 100644
--- a/src/lib/neonAuth.ts
+++ b/src/lib/neonAuth.ts
@@ -166,7 +166,12 @@ export async function signInWithSocial(provider: SocialProvider): Promise<{ erro
method: "POST",
headers: { "Content-Type": "application/json" },
credentials: "include",
- body: JSON.stringify({ provider, callbackURL, disableRedirect: true }),
+ body: JSON.stringify({
+ provider,
+ callbackURL,
+ newUserCallbackURL: callbackURL,
+ disableRedirect: true,
+ }),
});
const text = await response.text();