mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Improvements and fixes on OAuth providers (#304)
This commit is contained in:
committed by
GitHub
parent
32d19cbe7c
commit
39a757fe5b
@@ -91,7 +91,7 @@ const TenantSignUpP = ({
|
||||
if (authMethod == 'oauth') {
|
||||
let redirectUrl = new URL(baseUrl);
|
||||
redirectUrl.hostname = `${subdomain}.${redirectUrl.hostname}`;
|
||||
window.location.href = `${redirectUrl.toString()}users/sign_in`;
|
||||
window.location.href = redirectUrl.toString();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user