preAGIcoder
preAGIcoder
BABetter Auth
Created by phipham on 3/17/2025 in #help
Only allow one active session at a time
but it was not working for me so i did it this way
7 replies
BABetter Auth
Created by phipham on 3/17/2025 in #help
Only allow one active session at a time
there is also authClient.revokeOtherSessions() which you can run as soon as the user signin
7 replies
BABetter Auth
Created by phipham on 3/17/2025 in #help
Only allow one active session at a time
Not sure if it is the best approach but I achieved this by deleting all the session for that user except the newSession in the after hook. @phipham
7 replies
BABetter Auth
Created by preAGIcoder on 3/13/2025 in #help
How can i get email from resetPassword
Thanks, i got the user id from verification table, it was in value column
15 replies
BABetter Auth
Created by preAGIcoder on 3/13/2025 in #help
I want to disable updateAge for session expiration
one idea i have to achieve 1 is to set the updateAge > expiresIn
5 replies
BABetter Auth
Created by preAGIcoder on 3/13/2025 in #help
I want to disable updateAge for session expiration
@bekacru is this possible?
5 replies
BABetter Auth
Created by preAGIcoder on 3/13/2025 in #help
How can i get email from resetPassword
lmk if i am missing something
15 replies
BABetter Auth
Created by preAGIcoder on 3/13/2025 in #help
How can i get email from resetPassword
since the password reset is based on token. I am not sure how can i pass the session to headers, since i dont have the session yet, after reset passoword is successful
15 replies
BABetter Auth
Created by preAGIcoder on 3/13/2025 in #help
How can i get email from resetPassword
But user is not loged in yet right?
15 replies
BABetter Auth
Created by preAGIcoder on 3/13/2025 in #help
How can i get email from resetPassword
I am already doing that and reset passoword is working. My question is about sending an email after the password the changed to notify the user.
15 replies
BABetter Auth
Created by preAGIcoder on 3/13/2025 in #help
How can i get email from resetPassword
@Ping any idea?
15 replies
BABetter Auth
Created by preAGIcoder on 3/7/2025 in #help
Can i check if totp is enabled in 2FA?
4 replies
BABetter Auth
Created by aa55h on 3/4/2025 in #help
Model "user" was not found in the database schema object with drizzle
is it solved?
15 replies
BABetter Auth
Created by preAGIcoder on 3/4/2025 in #help
User info from social providers
gothca thanks
10 replies
BABetter Auth
Created by aa55h on 3/4/2025 in #help
Model "user" was not found in the database schema object with drizzle
lmk if it works
15 replies
BABetter Auth
Created by aa55h on 3/4/2025 in #help
Model "user" was not found in the database schema object with drizzle
@aa55h to be clear pass the drizzle schemas here
15 replies
BABetter Auth
Created by preAGIcoder on 3/4/2025 in #help
User info from social providers
@bekacru
10 replies
BABetter Auth
Created by preAGIcoder on 3/4/2025 in #help
User info from social providers
because both of them are not being triggered when in signin
10 replies
BABetter Auth
Created by preAGIcoder on 3/4/2025 in #help
User info from social providers
does getUserInfo and mapUserToProfile trigger on signin too or just signup?
10 replies
BABetter Auth
Created by preAGIcoder on 3/4/2025 in #help
User info from social providers
@bekacru sorry to ping you, but can you help?
10 replies