mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-31 12:32:52 -05:00
Merge branch 'canary' into fix(adapters)/mongodb-id-issue
This commit is contained in:
@@ -80,8 +80,8 @@ export const auth = betterAuth({
|
||||
subject: "Verify your email address",
|
||||
text: `Click the link to verify your email: ${url}`,
|
||||
});
|
||||
sendOnSignIn: true,
|
||||
},
|
||||
sendOnSignIn: true,
|
||||
},
|
||||
emailAndPassword: {
|
||||
requireEmailVerification: true,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -314,7 +314,6 @@ export const genericOAuth = (options: GenericOAuthOptions) => {
|
||||
tokenEndpoint: finalTokenUrl,
|
||||
});
|
||||
},
|
||||
|
||||
async getUserInfo(tokens) {
|
||||
const userInfo = c.getUserInfo
|
||||
? await c.getUserInfo(tokens)
|
||||
@@ -334,6 +333,9 @@ export const genericOAuth = (options: GenericOAuthOptions) => {
|
||||
data: userInfo,
|
||||
};
|
||||
},
|
||||
options: {
|
||||
overrideUserInfoOnSignIn: c.overrideUserInfo,
|
||||
},
|
||||
} as OAuthProvider;
|
||||
});
|
||||
return {
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
"@better-fetch/fetch": "catalog:",
|
||||
"fast-xml-parser": "^5.2.5",
|
||||
"jose": "^6.1.0",
|
||||
"oauth2-mock-server": "^7.2.1",
|
||||
"samlify": "^2.10.1",
|
||||
"zod": "^4.1.5"
|
||||
},
|
||||
@@ -73,6 +72,7 @@
|
||||
"better-call": "catalog:",
|
||||
"body-parser": "^2.2.0",
|
||||
"express": "^5.1.0",
|
||||
"oauth2-mock-server": "^7.2.1",
|
||||
"tsdown": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Generated
+6
-6
@@ -352,7 +352,7 @@ importers:
|
||||
version: 12.23.12(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
||||
geist:
|
||||
specifier: ^1.4.2
|
||||
version: 1.4.2(next@16.0.1(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(sass@1.90.0))
|
||||
version: 1.4.2(next@16.0.1(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(sass@1.90.0))
|
||||
input-otp:
|
||||
specifier: ^1.4.2
|
||||
version: 1.4.2(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
|
||||
@@ -639,7 +639,7 @@ importers:
|
||||
version: 15.8.3(@oramacloud/client@2.1.4)(@tanstack/react-router@1.131.27(react-dom@19.2.0(react@19.2.0))(react@19.2.0))(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(algoliasearch@5.36.0)(lucide-react@0.542.0(react@19.2.0))(next@16.0.1(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(sass@1.90.0))(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(tailwindcss@4.1.13)
|
||||
geist:
|
||||
specifier: ^1.4.2
|
||||
version: 1.4.2(next@16.0.1(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(sass@1.90.0))
|
||||
version: 1.4.2(next@16.0.1(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(sass@1.90.0))
|
||||
gray-matter:
|
||||
specifier: ^4.0.3
|
||||
version: 4.0.3
|
||||
@@ -1271,9 +1271,6 @@ importers:
|
||||
jose:
|
||||
specifier: ^6.1.0
|
||||
version: 6.1.0
|
||||
oauth2-mock-server:
|
||||
specifier: ^7.2.1
|
||||
version: 7.2.1
|
||||
samlify:
|
||||
specifier: ^2.10.1
|
||||
version: 2.10.1
|
||||
@@ -1299,6 +1296,9 @@ importers:
|
||||
express:
|
||||
specifier: ^5.1.0
|
||||
version: 5.1.0
|
||||
oauth2-mock-server:
|
||||
specifier: ^7.2.1
|
||||
version: 7.2.1
|
||||
tsdown:
|
||||
specifier: 'catalog:'
|
||||
version: 0.15.11(typescript@5.9.3)
|
||||
@@ -21806,7 +21806,7 @@ snapshots:
|
||||
|
||||
function-bind@1.1.2: {}
|
||||
|
||||
geist@1.4.2(next@16.0.1(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(sass@1.90.0)):
|
||||
geist@1.4.2(next@16.0.1(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(sass@1.90.0)):
|
||||
dependencies:
|
||||
next: 16.0.1(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(@playwright/test@1.55.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(sass@1.90.0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user