Skip to content

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

prepend https://

Jonathan Summers-Muir62e59865390d
diff --git a/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx b/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx
index f0a0b1ee79d..6e00a5ed6c2 100644
--- a/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx
+++ b/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx
@@ -36,7 +36,7 @@ const ForgotPasswordForm = () => {
hcaptchaToken: token ?? undefined,
redirectTo: `${
process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'
- ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `/${basePath}`)
+ ? 'https://' + process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `/${basePath}`)
: process.env.NEXT_PUBLIC_SITE_URL
}/reset-password`,
})
diff --git a/studio/components/interfaces/SignIn/SignInSSOForm.tsx b/studio/components/interfaces/SignIn/SignInSSOForm.tsx
index e5211c6e2cb..a48468883ce 100644
--- a/studio/components/interfaces/SignIn/SignInSSOForm.tsx
+++ b/studio/components/interfaces/SignIn/SignInSSOForm.tsx
@@ -37,7 +37,7 @@ const SignInSSOForm = () => {
captchaToken: token ?? undefined,
redirectTo: `${
process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'
- ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`)
+ ? 'https://' + process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`)
: process.env.NEXT_PUBLIC_SITE_URL
}${getReturnToPath()}`,
},
diff --git a/studio/components/interfaces/SignIn/SignInWithGitHub.tsx b/studio/components/interfaces/SignIn/SignInWithGitHub.tsx
index 7e1420574f1..eca1f688296 100644
--- a/studio/components/interfaces/SignIn/SignInWithGitHub.tsx
+++ b/studio/components/interfaces/SignIn/SignInWithGitHub.tsx
@@ -11,7 +11,7 @@ const SignInWithGitHub = () => {
options: {
redirectTo: `${
process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'
- ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`)
+ ? 'https://' + process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`)
: process.env.NEXT_PUBLIC_SITE_URL
}${getReturnToPath()}`,
},
diff --git a/studio/components/interfaces/SignIn/SignUpForm.tsx b/studio/components/interfaces/SignIn/SignUpForm.tsx
index 50d2e806abe..d232e06d6ff 100644
--- a/studio/components/interfaces/SignIn/SignUpForm.tsx
+++ b/studio/components/interfaces/SignIn/SignUpForm.tsx
@@ -41,7 +41,7 @@ const SignUpForm = () => {
hcaptchaToken: token ?? null,
redirectTo: `${
process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'
- ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`)
+ ? 'https://' + process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`)
: process.env.NEXT_PUBLIC_SITE_URL
}/sign-in`,
})