added https:// to the hostname to make a valid uri

This commit is contained in:
Carter 2025-07-18 15:28:41 -06:00
parent b9d2635f99
commit 84ed63a765

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 = url.hostname + "/signupCallback"
options.authorizationParams.redirect_uri = "https://" + url.hostname + "/signupCallback"
console.log(options.authorizationParams.redirect_uri)
loginWithRedirect(options)