How to pass custom value to OAuth
auth.api.signInSocial
call for account creation, so that I can intercept that value once the user's account is created and couple it to the right user.
What would be the best way to do it? I've noticed that custom body parameters don't work. Specifically I want to do this for Google oAuth and Microsoft OAuth.
Thank you....Nuxt's useFetch in Admin plugin?
useFetch
function to make SSR work, I'm not seeing the same option in the Admin plugin however.
...auth.api
clientBetter Auth with websockets
Cookies disappear on web app after refresh in production with Turborepo setup using better-auth
Dynamic Callback URL
BETTER_AUTH_URL
). I was hoping to be able to use a callback or config option somewhere to change this behavior to use the current domain rather than a hard-coded config value. Is something like that possible?...better-auth expo client doesn't handle cancelation correctly
let result = await authClient.signIn.social({ provider: 'google' })
- Cancel the OAuth flow
- result
is
...The user data ID is empty in the before hook of the database.
Authenticate Next.js app against Express backend.
onboarding new users
Better auth in monorepo
First Timer - Understanding Client vs Server
Better-Auth With Different backend (FastAPI)
Convex? Ditching WorkoS
Has anyone had any good implementation happy dayz connecting to Convex? I will try this tomorrow and see how it goes. https://github.com/get-convex/better-auth...
Is there a way to access the `event` object from hooks in Nuxt / Nitro?
databaseAfter
hook. I am using @nuxtjs/i18n
and need to use the event
object for the language of the email. Is there a way to do this?When an anonymous user is created how to populate the image column in the user table
(on middleware) [Better Auth]: INTERNAL_SERVER_ERROR Error: Failed query
2025-08-10T13:39:59.581Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR Error: Failed query: select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id", "impersonated_by" from "session" where "session"."token" = $1
params: 7lIiWUkRjrVmOh4UJ0rZgjrvITaKu3ve
2025-08-10T13:39:59.581Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR Error: Failed query: select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id", "impersonated_by" from "session" where "session"."token" = $1
params: 7lIiWUkRjrVmOh4UJ0rZgjrvITaKu3ve
Have I been pwned?
NestJS Prisma MongoDB - Model ${model} does not exist in the database
Exposing FetchOptions Type with Better-Auth?
FetchOptions
. I need to install @better-fetch/fetch
import type { BetterFetchOption } from '@better-fetch/fetch'
import type { BetterFetchOption } from '@better-fetch/fetch'
Anyway to support shared emails when using the username plugin?