mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2026-05-08 17:48:55 -04:00
upd: change plugin for oidc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user