fix(auth): add accountLinking trustedProviders for authentik (GRO-1509) #41

Closed
The Dogfather wants to merge 1 commits from flea-flicker/gro-1509-better-auth-account-not-linked into uat
+4
View File
@@ -251,6 +251,10 @@ export async function initAuth(): Promise<void> {
}, },
}, },
account: { account: {
accountLinking: {
enabled: true,
trustedProviders: ["authentik"],
},
storeStateStrategy: "cookie" as const, storeStateStrategy: "cookie" as const,
}, },
emailAndPassword: { emailAndPassword: {