Lionel
BABetter Auth
•Created by aa55h on 3/23/2025 in #help
Not requiring captcha for social signins
i have already created a pull request that solve the issue. We need better-auth team to check it https://github.com/better-auth/better-auth/pull/2065
@bekacru @admin need help please
18 replies
BABetter Auth
•Created by aa55h on 3/23/2025 in #help
Not requiring captcha for social signins
@bekacru here is my config
import { betterAuth } from 'better-auth'
import Database from 'better-sqlite3'
import { twoFactor, emailOTP, captcha } from 'better-auth/plugins'
export const auth = betterAuth({
advanced: {
cookiePrefix: 'bn',
},
database: new Database('./sqlite.db'),
emailAndPassword: {
enabled: true,
},
emailVerification: {
autoSignInAfterVerification: true,
sendOnSignUp: true,
requireEmailVerification: true,
},
socialProviders: {
google: {
clientId: process.env.BETTER_AUTH_GOOGLE_ID as string,
clientSecret: process.env.BETTER_AUTH_GOOGLE_SECRET as string,
},
apple: {
clientId: process.env.BETTER_AUTH_APPLE_ID as string,
clientSecret: process.env.BETTER_AUTH_APPLE_SECRET as string,
appBundleIdentifier: process.env.BETTER_AUTH_APPLE_APP_BUNDLE_IDENTIFIER,
},
facebook: {
clientId: process.env.BETTER_AUTH_FACEBOOK_ID as string,
clientSecret: process.env.BETTER_AUTH_FACEBOOK_SECRET as string,
},
tiktok: {
clientId: process.env.BETTER_AUTH_TIKTOK_ID as string,
clientSecret: process.env.BETTER_AUTH_TIKTOK_SECRET as string,
clientKey: process.env.BETTER_AUTH_TIKTOK_CLIENT_KEY,
},
},
plugins: [
twoFactor(),
emailOTP({
async sendVerificationOTP() {},
}),
captcha({
provider: 'cloudflare-turnstile',
secretKey: process.env.TURNSTILE_SECRET_KEY!,
endpoints: [],
}),
],
})
18 replies
BABetter Auth
•Created by aa55h on 3/23/2025 in #help
Not requiring captcha for social signins
18 replies
BABetter Auth
•Created by aa55h on 3/23/2025 in #help
Not requiring captcha for social signins
Same problem for me
18 replies
PD🧩 Plasmo Developers
•Created by sumit on 7/16/2023 in #🔰newbie
how to stop "Context Invalidated, Press to Reload"?
How to fix this error please
8 replies