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
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
ted
tedOP3mo ago
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.
bekacru
bekacru3mo ago
you can now use hooks
ted
tedOP3mo ago
almost like you knew what i wanted :hahaha:
ted
tedOP3mo ago
Hooks | Better Auth
Better Auth Hooks let you customize BetterAuth's behavior

Did you find this page helpful?