upd: change plugin for oidc

This commit is contained in:
2026-01-14 03:30:15 -05:00
parent ea9dc35323
commit 01f3b408e9
4 changed files with 23 additions and 40 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ function SignInForm() {
async function handleSocialSignIn() {
setLoading(true);
try {
await authClient.signIn.sso({
domain: "beenvoice.soconnor.dev",
await authClient.signIn.oauth2({
providerId: "authentik",
callbackURL: callbackUrl,
});
// The signIn.sso method will automatically redirect to the SSO provider