Trigger Sign-In Callback (Sveltekit Auth Helper)

Hi, I want to trigger a callback once a user has signed into my app. I've tried to use the client side supabaseClient.auth.onAuthStateChange and look for the SIGNED_IN event, but the results have been flakey. The callback is often not trigger until ~10-20 seconds after the user logs in and sometimes its not trigger at all.

Is there a pattern for server-side sign in callbacks for the Sveltekit Auth Helper? Thanks.
Was this page helpful?