diff --git a/src/lib/auth.ts b/src/lib/auth.ts index 324050b..0f5c15d 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -19,6 +19,10 @@ export const auth = betterAuth({ "https://beenvoice.soconnor.dev", "https://auth.soconnor.dev", // Authentik IdP for OIDC discovery ], + accountLinking: { + enabled: true, + trustedProviders: ["authentik"], + }, emailAndPassword: { enabled: true, password: {