Scheduling infrastructure for absolutely everyone.
fix(auth): make identityProviderId lookup case-insensitive (#26405)
Pedro Castro0109427d04fe
diff --git a/packages/features/auth/lib/next-auth-options.ts b/packages/features/auth/lib/next-auth-options.tsindex 41c01f2aacc..449d17a7e9a 100644--- a/packages/features/auth/lib/next-auth-options.ts+++ b/packages/features/auth/lib/next-auth-options.ts@@ -865,7 +865,10 @@ export const getOptions = ({},where: {identityProvider: idP,- identityProviderId: account.providerAccountId,+ identityProviderId: {+ equals: account.providerAccountId,+ mode: "insensitive",+ },},});