setting auth redirect to the url dynamically instead of just local host
This commit is contained in:
parent
0127eeefc7
commit
6f02f9e562
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.login_hint = parsed.email.toString(); // prefill email
|
||||||
}
|
}
|
||||||
|
|
||||||
options.authorizationParams.redirect_uri = "http://localhost:5173/signupCallback"
|
options.authorizationParams.redirect_uri = url + "/signupCallback"
|
||||||
|
|
||||||
loginWithRedirect(options)
|
loginWithRedirect(options)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue