hanko
hanko copied to clipboard
New event for signup, as onAuthFlowCompleted triggers for both sign-up/in
Checklist
- [X] I could not find a solution in the existing issues or docs.
- [X] I agree to follow this project's Code of Conduct.
Description
New event for signup, as onAuthFlowCompleted triggers for both sign-up/in
Workarounds or alternatives
We have to check if the user already exists for this
Hanko Version
0.9.0
@Ashutosh-Bhadauriya Please add a bit more context here
Currently, we have a single event called onAuthFlowCompleted that gets triggered for both user sign-up and sign-in processes. This makes it challenging to differentiate when a new user has signed up. Therefore, iIt will be good to have a separate event for signup. It was requested by a member on discord if I remember correctly