setting auth redirect to the url dynamically instead of just local host

This commit is contained in:
Carter 2025-07-18 13:15:55 -06:00
parent 0127eeefc7
commit 6f02f9e562

View file

@ -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)