getSession causing error: "Cannot read properties of undefined (reading 'validate')"

user.findFirst and session.findFirst being run too many times
user.findFirst
and session.findFirst
being run to many times normal?
[RangeError: Too many properties to enumerate]
/api/auth/get-session
or via the getSessionCookie
helper, i always got a 500 error with "[RangeError: Too many properties to enumerate]", without any others details.
If you have some ideas to solve it, it would be a pleasure
thx...How to seed users?
Can i setup two separate auth config in single project
Add current Stripe plan to user object
Vercel Deploy Problems - Cookies not detected?
Broken auto sign in?

Azure B2C vs B2B
https://login.microsoftonline.com...
, but B2C opens https://smthg.b2clogin.com/smthg.onmicrosoft.com/mypolicy/...
...How to secure my socket.io server
Error 400: redirect_uri_mismatch
Payload Request shows email and Password

Optional accountId table?
Generate sessions for integration tests
ERROR [Better Auth]: State Mismatch. Verification not found
/api/auth/error?error=please_restart_the_process
) in a couple situations:
- If a user is authenticated on a mobile device using Google Chrome and hits the "Desktop site" option in the Chrome page settings
- A user is goes through the sign in flow with Google, selects their Google account, is authenticated successfully, but then hits the back button to go back to the Google account select screen (https://accounts.google.com/o/oauth2/auth/oauthchooseaccount?
), and then selects the same Google account.
...
Hono dosen't set cookies, so session returns Null

Maintaining session in a webview.
const cookies = authClient.getCookie(); const newSource = { headers: { Cookie: cookies },...
OAuthProxy with branched database
Handle check email verified
Email verification
requiredEmailVerification
option on, if the user didn't verify his email address yet, a verification email is automatically sent. This means that the user could spam the sign-in button and/or route
Is there any way to prevent that?
I guess I could define a custom ratelimit for the sign-in route, as shown here: https://www.better-auth.com/docs/concepts/rate-limit#rate-limit-window but it's not really what I'm looking for. I don't want to ratelimit the route, I just want a cooldown on the verification email...