using hostname instead of url

This commit is contained in:
Carter 2025-07-18 15:05:49 -06:00
parent bc1cf27ad4
commit b9d2635f99

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