preAGIcoder
BABetter Auth
•Created by preAGIcoder on 3/13/2025 in #help
I want to disable updateAge for session expiration
I have two queries
1. I dont want the session expiration to be extended automatically with
updateAge
. I want the session to be only extended when the session is used.
2. i want the to keep the session alive/extend for just a specific page, so i was thinking of creating a dummy api and keep hitting it at interval to keep the session active if 1 is acheived. lmk if there is a better way.5 replies
BABetter Auth
•Created by preAGIcoder on 3/13/2025 in #help
How can i get email from resetPassword
I want to send email to the user to notify that password is changed. But their is only status in data object. How can i get the email of the user?
This is part of forgotPassword flow.
15 replies
BABetter Auth
•Created by preAGIcoder on 3/7/2025 in #help
Can i check if totp is enabled in 2FA?
is there anyway to accomplish this? basically during credential signin if 2fa is enabled it can be for both otp and totp, how can i know if it is enabled for totp specifically? (sorry for the ping couldnt find any reference)
4 replies
BABetter Auth
•Created by preAGIcoder on 3/4/2025 in #help
Cant find twoFactor property in authClient
I am getting a type error Property 'twoFactor' does not exist on type.
2 replies
BABetter Auth
•Created by preAGIcoder on 3/4/2025 in #help
User info from social providers
How can i get the user profile data when using google OAuth?
does better auth returns it out of the box or do i get the access token that i need to use and hit the social provider a api to get user info?
10 replies