FeatureFuel
2

Event Handling for SignIns

Source: supabase/supabase#15456 · opened by @Megajin
Hi there,

How do you guys handle events like a successful login? I have not seen any option to put in functions like onSignIn likewise for post and pre functions. I need these to do some loading indication. The redirectTo option seems to only work on signups?

Use case:

The user clicks on "Login", after that I want to show a loading indicator and if possible disable the button for people with slow internet connections who will click multiple times on a button. After a successful login, I'd like to use my own router in my application to redirect the user.

Packages currently in use:

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests