Sub domain auth
Confused about Better Auth + Backend Middleware + Auth
better-auth
config), that needs to check 2 scenarios basically:
1. IF there is a session cookie, which needs to be validated (not idea how), THEN user is authenticated....Setting baseUrl doesn't work when BETTER_AUTH_URL does
[Admin Plugin] Session not updated when user is updated
How to enforce user's to set certain user properties?
Better Auth (auth.api.getSession) causes problem in edge runtime

Infer type is empty in hono
auth.$infer
.
But in my case that is an empty object. I am binding that to Hono app by const app = new Hono<{Binding: AuthType}>
which according to docs should set the type for users and session.
this is the type that i get back when using auth.api.getSession()
...Inferred type of betterAuth client exceed compiler serialization
create organization on signup
Generate OneTime Token not typed on client side

mapProfileToUser throwing The inferred type of 'auth' cannot be named without a reference to '../../
mapProfileToUser
in the oAuth provider options i get this error:
The inferred type of 'auth' cannot be named without a reference to '../../../../node_modules/better-auth/dist/shared/better-auth.Bzjh9zg_'. This is likely not portable. A type annotation is necessary.ts(2742)
The inferred type of 'auth' cannot be named without a reference to '../../../../node_modules/better-auth/dist/shared/better-auth.Bzjh9zg_'. This is likely not portable. A type annotation is necessary.ts(2742)
signout doesn’t show logged out right away; I have to reload the page to see it.
ERROR api/auth/sign-in-social

AdditionalFields not working as expected, Drizzle
Refresh Token Rotation with NextJs
better-fetch
with a custom auth plugin to handle attaching a bearer token to each request to our backend, and it's working great. However, I was wondering if anyone has had to deal with setting up a refresh token rotation within a plugin? For example, if the request fails with a 401
status, how can I trigger only 1 call to my /refresh
endpoint without race conditions to refresh the token and retry the request with the new token?
Also, a related question is how would I sign out the user on the client if the refresh token was revoked / something else went wrong?
Here's my current implementation (not working)...listOrganizations params - docs are no help
migrate after docker build
Add id of relation to user obj
Better auth issue with prisma adapter using with Nuxt
Removing column
