Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Pass params to signup page (#35764)

Terry Sutton63139b9dd0e6
diff --git a/apps/studio/pages/sign-in.tsx b/apps/studio/pages/sign-in.tsx
index 42928963c55..c30d1a314a3 100644
--- a/apps/studio/pages/sign-in.tsx
+++ b/apps/studio/pages/sign-in.tsx
@@ -13,7 +13,6 @@ import { Button } from 'ui'
const SignInPage: NextPageWithLayout = () => {
const router = useRouter()
- const searchParams = new URLSearchParams(router.query as Record<string, string>).toString()
useEffect(() => {
if (!IS_PLATFORM) {
@@ -31,7 +30,7 @@ const SignInPage: NextPageWithLayout = () => {
<Link
href={{
pathname: '/sign-in-sso',
- query: searchParams,
+ query: router.query,
}}
>
Continue with SSO
@@ -55,7 +54,10 @@ const SignInPage: NextPageWithLayout = () => {
<div>
<span className="text-foreground-light">Don't have an account?</span>{' '}
<Link
- href="/sign-up"
+ href={{
+ pathname: '/sign-up',
+ query: router.query,
+ }}
className="underline transition text-foreground hover:text-foreground-light"
>
Sign Up Now