Kabeer
BABetter Auth
•Created by Kabeer on 4/16/2025 in #bug-reports
Session Not Updating & Expired session continues to be active
Issue 1 : Session Cookie, nor session expiration is being updated
issue 2: Even After session is expired. Im getting valid session response (sending cookie manually)
better-auth version 1.2.7
better-auth Config
Expected behavior
--
So technically session should be valid for 1 Min and on every
/get-session
within that 1 min , the session expiry should be updated and a cookie be returned
Whats happening
---
The same response as the first /get-session
continues for 1 min and after also. No set-cookie
is headers nor session expiry is updated in response
Full Config
6 replies
BABetter Auth
•Created by Kabeer on 3/22/2025 in #help
Wierd behaviour, isPending from useSession not triggering
Im using
nextJS 15.2
isPending is always true
(sometimes) , it doesn't change to false even after network request is done5 replies
BABetter Auth
•Created by Kabeer on 1/25/2025 in #bug-reports
Failed to get session, when remember me is checked

2 replies
BABetter Auth
•Created by Kabeer on 1/11/2025 in #bug-reports
Anonymous user account getting deleted on calling /get-session
Basically Anonymous user accounts are getting deleted after calling
/get-session
2 or 3 times (have to set disableDeleteAnonymousUser
to true
for it to not delete). Also onLinkAccount is getting triggered when no account linking have taken place (only api call is /get-session
)
My auth config
5 replies
BABetter Auth
•Created by Kabeer on 12/23/2024 in #help
TOTP URI Error After getting scanned by Google Authenticator
server config
mfa setup func
Generated TOTP URI
otpauth://totp?secret=mYRiLalafW4Ya04foIhsXX_BGLV8Ccsn&issuer=example.com&account=test%40gmail.com&digits=6&period=30
Google Authenticator say Error : Cannot interpret OR code
Also tried with Ente Auth, It gets scanned but in place of OTP, there is just Error.
Not sure if im doing something wrong . Any help ? Thanks!4 replies