How do you make fetch call from Nextjs to Hono with auth ?

2FA Error
await authClient.twoFactor.verifyTotp({
code: "" // user input
})
await authClient.twoFactor.verifyTotp({
code: "" // user input
})
Problems with useSession hook
findUserRoles Customizing Session Response

Nextjs Frontend + Express Backend (Better-auth @express), Better-not triggering custom adapter
backendurl:port/auth
backendurl:port/auth

Cookies not setting in turborepo project
Svelte Kit hooks.server.ts getSession not working
svelteKitHandler
.. I've set-up a custom route apps/frontend/src/routes/api/auth/[...all]/+server.ts
with the following code:
```
import type { RequestHandler } from "./$types";
// const ORPC_ENDPOINT = import.meta.env.VITE_ORPC_ENDPOINT...Switching from Auth0 with nextjs and express backend
how to update the session
unable_to_create_user error

Inferring additional fields on hooks
better-auth/cli generate
and prisma migrate
as you can see the screenshot from the prisma studio , the user table have that column.
I also tried restarting the TS server on vscode which did not solve the issue...
use `updateUser` in route handler
authClient
on client side
but if i want to Update User Information on server side (from a route handler) what do i do?
docs show
`await authClient.updateUser({...Drizzle + Better Auth -- No changes, password auth fails?
Checked supabase status and everything working as expected.
...
2FA getting error generating totp uri
Can I delete/remove the default "user" role when using admin()
auth.api.getSession() returns unknown for user and session
Issue with OIDC Consent Page
BetterAuth with custom Nextjs basePath
basePath
in my Next.js configuration.
Now I'm having trouble getting BetterAuth to work properly with this setup. I adjusted the basePath
for the authClient
, and the best result I got was a POST request being sent to:
...Multiple emails?
Drizzle generate creates default values as variables instead of strings
member
and pending
) should be strings but are generated as variables.
```ts
export const member = pgTable("member", {
id: text('id').primaryKey(),...