db: push sso changes

This commit is contained in:
2026-01-14 03:24:30 -05:00
parent 1cf3dc4d6f
commit ea9dc35323
3 changed files with 21 additions and 2 deletions
+4
View File
@@ -13,6 +13,7 @@ export const auth = betterAuth({
session: schema.sessions,
account: schema.accounts,
verification: schema.verificationTokens,
ssoProvider: schema.ssoProviders,
},
}),
trustedOrigins: [
@@ -60,6 +61,9 @@ export const auth = betterAuth({
jwksEndpoint: "https://auth.soconnor.dev/application/o/beenvoice/jwks/",
scopes: ["openid", "email", "profile"],
pkce: true,
mapping: {
emailVerified: "email_verified",
},
},
},
]