Tanstack Start Server functions cookie issue

Single Auth Multiple apps setup.

How can I extend the organisation plugin?
[# Drizzle Adapter]: The model "team" was not found in the schema object. Please pass the schema dir
Better Auth errors with state not found after social sign in
state_not_found
errorBetterauth CLI Fails on sqlite
Next Auth `iss` claim missing
OperationProcessingError: JWT "iss" (issuer) claim missing
. Attached screenshot of supported claims from well-known endpoint on BA side, as you can see iss
is listed, which makes me think BA is not the problem. Any ideas? If this is a Next Auth error after all, I'm confused why it works for other OIDC providers
EDIT: also asked in Auth.js server and linked back here: https://discord.com/channels/1200116961590399008/1354958631476531220/1354958631476531220...
Machine authentication (Client Credential Grant)
Stripe sync subscriptions
How to know if the signed in user is a new user? (For both Password and OAuth)
SignOut function doesn't immediately re-invoke session change
Get access to genericOAuth profile in customSession
Not able to get session type while using auth.api.getSession({headers: headers()})
auth.api.getSession
to get session on serverside.
I have tried everything, even when i am using this in auth.ts file itself it is not giving types. I have tried to use differnt tsconfig....Help setting up better auth in a fetch environment

Database Hooks within a Plugin
init
```ts
const plugin = {
init: (ctx)=>{
return {...Where to get these ID token? the documents looks half.
Auto logout
Infer additional fields for admin?