fix: oauth callback linking on trusted provider

This commit is contained in:
Bereket Engida
2024-09-28 08:21:38 +03:00
parent ee3255816a
commit eb3952a135
2 changed files with 2 additions and 10 deletions

View File

@@ -86,10 +86,4 @@ export const auth = betterAuth({
clientSecret: process.env.GOOGLE_CLIENT_SECRET || "",
},
},
account: {
accountLinking: {
trustedProviders: ["google", "github"],
requireEmailVerified: true,
},
},
});