I would like to implement an ‘invite only’ registration flow using the provided Auth0 ‘post registration’ Hook. I would like to avoid adding custom code to my application.
This example, https://auth0.com/docs/design/creating-invite-only-applications, requires custom code in my application, but I think this can be done via the Hooks feature provided through the Auth0 Dashboard.
Here is my ideal flow:
- I create a new user in the Auth0 dashboard
- That triggers and sends a reset password email to the user’s email address
- When the user clicks the link in the email they are taken to Auth0’s provided reset password page
- Upon the user resetting their password, they are logged into the app
Can anyone provide sample code for accomplishing this in the post registration Hook?