Stripe | Make success_url optional?
success_url
is not supported with ui_mode: embedded
."
So my question is, if we could make success_url optional (and maybe more not sure if the cancelUrl needs also to be optional), so we can use it together in a embedded mode.
Not sure if this is a feature_request or bug, but i think a nice to have for everyone not wanting to use the default stripe hosted pages....Stripe Plugin bug
authClient.subscription.upgrade()
does not work with prisma, it says a column is missing even though the prisma studio shows it exists, the neon dashboard says it exists, and I can access the field using the prisma adapter in my code no problem.
``
# SERVER_ERROR: [Error [PrismaClientValidationError]:
Invalid
db[getModelName(model)].create()` invocation in...stripeSubscriptionId
required in your schema.
Just go to your schema.prisma and remove the ? on stripeSubscriptionId: String?
It has to be optional because this val comes from stripe, and is put in the db down the line by the webhook handler built into better-auth...Stripe Plugin | Received unknown parameters: params, options
Admin Plugin Issue with better-auth 1.2.1
Stripe Plugin | Bugs To Fix
"@better-auth/stripe": "^1.2.1",
"better-auth": "^1.2.1",
"@better-auth/stripe": "^1.2.1",
"better-auth": "^1.2.1",

mapProfileToUser doesn't work when using ID token authentication
mapProfileToUser
parameters are not passed to the user object, thus not being stored in the database neither.
I've set up additionalAttributes on the user object. If those are required, Prisma complains about those parameters not being specified while creating the user object. If those are not required they are just left as null
Backend auth.ts
...Social Login state mismatch error
twoFactor.verifyTotp missing trustDevice: true
Auto Cleanup for expired verification data - fails on D1 (also sqlite?)
Fixed menu header links not visible on mobile
Stripe Plugin | Webhook Event Failure

V1.2.0: ERR_PACKAGE_PATH_NOT_EXPORTED
Secure cookie prefix
__Secure-
prefix be the same for all 3 cookie methods in https://github.com/better-auth/better-auth/blob/main/packages/better-auth/src/cookies/index.ts ?
If I understand it correctly, only the createCookie function takes into account the advanced?.useSecureCookies and baseURL.startsWith("https://") part.
I'm debugging a problem where "everything" worked until I added the next middlewara that uses getSessionCookie. This returns null for me. I'm using https locally but also tried to set advanced.useSecureCookies=true
. So my cookies have the Secure prefix as expeced...."/api/auth/*" rule fails on express ^5.0.0
Better-auth cannot be set up using pg Pool and postgres
Getting a 404 on useSession and unable to use Svelte Store
Honojs
backend.
Then on the Svelte
side when I try use the store or value from the useSession method it is saying it is not a store
.
...
getSession returning null in dev mode
[TypeError] Invalid URL
Typescript error on plugin schema reference field
user
) I get TS error that instaed of reference
it should be references
```
Object literal may only specify known properties, but 'reference' does not exist in type 'FieldAttribute<FieldType>'. Did you mean to write 'references'?ts(2561)
auth-C42JqOR9.d.ts(1893, 17): The expected type comes from property 'userId' which is declared here on type '{ [x: string]: FieldAttribute<FieldType>; }'...