Hook before social signup

We have hooks before email signup, but how can we have them before social signup ? I just want an hook before signup in general (not just email and password). Bonus: It would even be better if I could execute something in a hook and cancel the registration on failure. I know you can do something similar right now with the before hook, but it will only execute before the validation (so if my hook succeed, the registration could still fail after that...).
1 Reply
picki
pickiOP2mo ago
I just saw the requestSignUp parameter in the social sign in route. I will try to work with that. But I still wish a general before signup hook. We need to be able to import typescript types for the context

Did you find this page helpful?