Is there documentation on running code on a specific event (ie signin)?
I need to run some non blocking code when specific events happen. I feel like I remember this was possible, but can't find anything.
5 Replies
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
I can't use that if I'm sending requests with the auth client I presume.
I suppose this is similar to database hooks - but just with normal events.
you can now use hooks
almost like you knew what i wanted :hahaha:
Hooks | Better Auth
Better Auth Hooks let you customize BetterAuth's behavior