Is there a server-side new user callback?

Is there a callback that is on the server-side that triggers whenever a user signs up / logs in / etc.?
E.g, next-auth has things like events, for things like, createUser, etc.
Was this page helpful?