From 6f02f9e562dca7a1ec72ea5a82d533ce500cc105 Mon Sep 17 00:00:00 2001 From: Carter Date: Fri, 18 Jul 2025 13:15:55 -0600 Subject: [PATCH] setting auth redirect to the url dynamically instead of just local host --- src/providers/auth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/auth.tsx b/src/providers/auth.tsx index 2a8f6bb..f539ff3 100644 --- a/src/providers/auth.tsx +++ b/src/providers/auth.tsx @@ -38,7 +38,7 @@ export default function AuthWrapper(props: Props) { options.authorizationParams.login_hint = parsed.email.toString(); // prefill email } - options.authorizationParams.redirect_uri = "http://localhost:5173/signupCallback" + options.authorizationParams.redirect_uri = url + "/signupCallback" loginWithRedirect(options)