Event Handling for SignIns #15456
Unanswered
Megajin
asked this question in
Feature Requests
Replies: 1 comment 2 replies
|
I cant directly help as I'm not familiar with next.js. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
How do you guys handle events like a successful login? I have not seen any option to put in functions like
onSignInlikewise for post and pre functions. I need these to do some loading indication. TheredirectTooption 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:
All reactions