using hostname instead of url
This commit is contained in:
parent
bc1cf27ad4
commit
b9d2635f99
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue