Google auth on plasmo browser extension
create user with signUpEmail
auth.api.signUpEmail
I can get the response object, but the user is not inserted in the database:
```js...ERROR [Better Auth]: [#better-auth]: Couldn't read your auth config. Error: Neither apiKey nor
ERROR [Better Auth]: Error Error: NOT_FOUND
"Email is missing" error with Generic OAuth2 plugin
{ accountId: string, displayName: string }
.
Clerk handles this by presenting the user with another form in which they must enter their email, but I'm not seeing how to configure this with better-auth. Anyone have ideas?...Get google oauth access token and implement google refresh token
redirect_uri starts with http
Migration Guide from Clerk to Better Auth
Anyway to access admin API from server?
API Organisation Types
global onSuccess question
onResponse
instead for the time beingSuper Admin role creation assistance
User as an organization
Cookies amongst multiple tenants, subdomains, and custom domains for a SaaS
mycoolapp.com
where i'll be serving the marketing, john.mycoolapp.com
, and maryscoolapp.com
).
Looking for guidance on how to get it working with BetterAuth; my stack is SvelteKit, with Postgres + Drizzle (using the direct Postgres connector, though), with Directus as the CMS for end users. Currently I'm having an issue where the cookies are being set on the TLD and not working on the subdomains.
I'm aware that there's an organisation plugin, but that doesn't look to have anything specific to sharing cookies between sites....How do you let the user choose which Google account to use when using social sign-in?
How do I implement authentication for tenant's clients with better-auth ?
Oauth in GoogleAddon
Update email of existing user entry that was created initially by verifyPhoneNumber API

App infinitely reloading and not sure why.
const isAuthed = await auth.api.getSession({
headers: context.request.headers,
});
const isAuthed = await auth.api.getSession({
headers: context.request.headers,
});
/api/auth/*
to get the session however the middleware will run on this meaning we will end up in an infinite loop due to it calling itself over and over again, not a problem on certain pages but possibly on others. my reworked middleware.ts
```ts
import { auth } from "@/lib/server/auth";
import { defineMiddleware } from "astro:middleware";
...Client-side user impersonation in Better-Auth with OpenAPI-TS: Why does it fail?