mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2026-05-08 17:48:55 -04:00
fix: remove proxy
This commit is contained in:
@@ -49,12 +49,28 @@ function SignInForm() {
|
||||
}
|
||||
|
||||
async function handleSocialSignIn() {
|
||||
console.log("[SIGN IN PAGE] SSO button clicked");
|
||||
console.log("[SIGN IN PAGE] authClient:", authClient);
|
||||
console.log("[SIGN IN PAGE] authClient.signIn:", authClient.signIn);
|
||||
|
||||
setLoading(true);
|
||||
await authClient.signIn.sso({
|
||||
providerId: "authentik",
|
||||
callbackURL: callbackUrl,
|
||||
});
|
||||
setLoading(false);
|
||||
try {
|
||||
console.log("[SIGN IN PAGE] Calling authClient.signIn.sso with:", {
|
||||
providerId: "authentik",
|
||||
callbackURL: callbackUrl,
|
||||
});
|
||||
|
||||
const result = await authClient.signIn.sso({
|
||||
providerId: "authentik",
|
||||
callbackURL: callbackUrl,
|
||||
});
|
||||
|
||||
console.log("[SIGN IN PAGE] SSO result:", result);
|
||||
} catch (error) {
|
||||
console.error("[SIGN IN PAGE] SSO error:", error);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user