No page refresh after sign in or sign out?
[OIDC] Post-consent authorization in refresh token flow
client.oauth2.authorize(...)
with offline_access
scope + prompt=consent
parameter works the first time (redirects back to client after accepting consent with client.oauth2.consent(...)
) along with a refresh token, however subsequent requests trigger a 500 error. They work again if I delete the corresponding record in the oauth_consent
table. What am I doing wrong in the flow? Can share more details as needed (query parameters passed to .authorize
, etc.)...Open api with exchange token
Mongodb indexable?
Google auth on plasmo browser ext
Custom format for API Key
Soft Deletes
deletedAt
to a non-null val rather than hard-deleting them. I'm running into some challenges where BetterAuth’s core logic doesn't seem to account for soft-deleted entities.
For example, when creating an invitation, if a user’s email already exists (even if soft-deleted), it throws an error. Similarly, creating users or organizations could conflict if soft-deleted records aren’t ignored during validation....inferAdditionalFields

Extend type user
export type User = typeof auth.$Infer.Session["user"];
export type User = typeof auth.$Infer.Session["user"];
Manual User SignUp
Get session call failing Safari
How to get a bigger profile image from google and facebook?
How to seed initial admin user on develop/staging/prod to start creating users
Captcha verification failed
Don't understand how to configure OIDC with an existing provider
auth.js
:
```javascript
import { betterAuth } from "better-auth";
import { sso } from "better-auth/plugins/sso";...How to Prevent Automatic Resending of Verification Email on Login with requireEmailVerification?
requireEmailVerification
option.
When I set requireEmailVerification: true
, the backend correctly returns a 403 response if a non-verified user tries to log in. I handle this on the frontend by showing a verification modal. However, I’ve noticed that BetterAuth also automatically resends the verification email to the user when this happens.
What I want:...stripe subscription list 401
Stripe customer portal "select certificate" alerts popping up multiple times
Extending the Organization plugin
Notion OAuth in Remix