onSuccess bug?
In convex i get an error "Client Disconnected" in my logs everytime i try to connect

How can I use roles and permissions from the database to manage authorisation using the admin plugin
What's the best way to check authentication? Can I check the session once in a Next.js layout?
Multiple better auth instances for MCP
How are you supposed to handle errors on the client? API is very inconsistent
Project specific api keys
Create organisation after sign up is not working wihth soical sign-in
What is the type that returns auth.api.getFullOrganization()
export type Organization = typeof auth.$Infer.Organization;?
it's defintly not that, because the full Org type sems to return a list of members...Revalidating cookie cache after updating session
How to fix the superAdmin problem
ownerAc as there is adminAc
How do I use it @Better Auth @Ping...
Use with Svelte Kit
404 on /two-factor/view-backup-codes
/two-factor/view-backup-codes endpoint. And I'm not sure why.
All the other endpoints for the Two Factor plugin are working fine (visible in /auth/reference).
Would appreciate some help figuring this out. Thank you....Failed login with X (twitter) getting unable_to_get_user_info & wrong scope with X Oauth
auth.ts file config looks like:
```
socialProviders: {
twitter: {...SSO Invalid Provider

Get role in middleware
Account linking with the generic SSO plugin with EntraID
email_verified claim, this means that users in the organization who already have a user account before their first login through the SSO gets rejected with an account not linked error. https://github.com/better-auth/better-auth/blob/5e50205a3f9a7ee6608703f23d26a2b944a8cce9/packages/better-auth/src/oauth2/link-account.ts#L64
I thought fine, I will implement the linking feature for those users who won't be provisioned by Entra but were already existing, but I found that i can't use authClient.linkSocial on sso_providers which were created with the sso plugin. I simply get {"code":"PROVIDER_NOT_FOUND","message":"Provider not found"} despite the provider being available in the database. I found in the code, that https://github.com/better-auth/better-auth/blob/5e50205a3f9a7ee6608703f23d26a2b944a8cce9/packages/better-auth/src/api/routes/account.ts#L197C30-L197C45 the provider is searched in the socialProviders which doesn't include the providers created by the sso plugin. ...Error login with google

useActiveOrganization is returning null always