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:
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.
Comments
Similar requests
Handling the Password Reset for a user by Supabase itself.
7 votes · 0 comments
Standardize Error Codes Across Supabase Ecosystem
1 vote · 0 comments
Improved Error Handling
1 vote · 0 comments
Broadcast a message to multiple channels
1 vote · 0 comments
Add "Getting Started with Analog.js" Guide in the documentation
1 vote · 0 comments
No comments yet.