How do I validate sessions / access in my backend
svelte-kit-example not working
Property 'oauth2' does not exist on type

Side effect on session changes
What are the differences between User vs Account?
Making Auth with 2 tables with different auth flows
students
and teachers
both are users essentially but with different plugins/login methods.
teachers
login with magic link
while students
can use oauth (google, facebook etc),passkey?...Admin Plugin - Issue with cookie cache and secondary storage not updating on `auth.api.setRole` call
auth.api.setRole
in my Remix+Better-Auth project.
Issue description:
- When I call auth.api.setRole
to update a user's role (e.g., promote a user to "admin" or revert them), the response headers do not include any Set-Cookie
headers. Example response headers look like this:...How to manually create a session and a cookie with proprietary SSO?
mapProfileToUser doesnt work
Twitter OAuth not returning email despite proper configuration
ERROR [Better Auth]: Provider did not return email. This could be due to misconfiguration in the provider settings.
ERROR [Better Auth]: Provider did not return email. This could be due to misconfiguration in the provider settings.
Pending State not getting resolved

Use Middleware to onboard users into organization
auth
instance can't run since it is server side, and I can't use the authClient
since that is meant for react components and doesn't work inside my middleware...Betterauth is Slow?
Prisma 6.7.0 error with better-auth
``file:///Users/salvatorenoto/Developer/Apps/rent-tracker/node_modules/@prisma/client/runtime/client.mjs: Invalid source map. Only conformant source maps can be used to find the original code. Cause: TypeError [ERR_INVALID_ARG_TYPE]: The "payload" argument must be of type object. Received null
2025-05-01T03:33:00.606Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR [Error [PrismaClientKnownRequestError]:
Invalid
db[model].findFirst()` invocation in...Stripe create user with trial subscription without requiring credit card?
Create new roles and permissions client side
Use setSessionCookie outside plugins
useSession query behaviour?

Help Understanding Better-auth
set-auth-jwt header not always set
