How do I seed users for development env?
Bearer headers not returning even with CORS configured
Getting so many errors related to mongo db

Issue: 307 Temporary Redirect After Sign-In in Production
Nuxt 3 SSR Client and Hono Server issue.
Refetching session for additionalFields change
additionalField
to my session called activeProjectId
.
I didn't find something to update the session from the official API. So per a Discord conversation I update it via my ORM....Set the correct Typescript type when using plugins
better-auth/plugins
.
I'm explicitly typing by betterAuth
instance as ReturnType<typeof betterAuth>;
, but when I try to access one of the API provided functions, e.g. betterAuth.api.listUsers, TS warns me it doesn't exist.
What is the correct typing for my betterAuth
instance?...DrizzleThe model "verification" was not found in the schema object. Please pass the schema
http://localhost:5173/api/auth/sign-in/social
Server error is ERROR [Better Auth]: BetterAuthError [BetterAuthError: [# Drizzle Adapter]: The model "verification" was not found in the schema object. Please pass the schema directly to the adapter options.] {
cause: undefined...import * as schema from '$lib/server/db/schema';
was actually enough to fix it. im still a bit confused about the error. i dont think i made any changes to the very default setup...Forget Password endpoint always returns status code 200

Next.js [Admin] [Username] listUsers() returns UserWithRole[] missing property `username`
Retrieving session after magic link signin in Expo
What info does server getSession need?
Setting cookies in electron with better-auth
Using BcryptJS with Better-Auth
Accepting organization invitation flow
better-auth
's organization invitation with users who haven't got an account / aren't signed in? I check on the frontend's page for accepting the invitation if there isn't a session, and if there isn't, I redirect them to the sign in page with the email already set and the input disabled
Then once they log in (e.g. with OTP), then I use the hook to check if the user is new, and if so, it accepts the invite automatically if there is one, and if they already had an account and are logging in, I want to redirect them to the invitation page again
Problem is, my backend and frontend are on separate domains so I'm getting CORS errors if I do the redirect...Open Social SignIn in external window
disableRedirect: true
to the signin options, then redirect manually
const { data } = await authClient.signIn.social({...Merging Existing Drizzle User Table with Better Auth Core Schema

OAuth Proxy plugin not working

seesion not saving when running dev server with --host or when running build
Getting Error on Netlify Edge Functions (SvelteKit)
