Here what we are currently trying to implement:
- User registers
- App requires that user validated his email to have full access
- User validates his email
- Auth0 triggers a callback to our server API
So for the step 4, we want to set up a callback to our own server API when a user verifies his email clicking on the link provided by the Auth0 default email:
https://mydomain.auth0.com/lo/verify_email?ticket=zaOst...WoNlDjhn5eE1y...
It will call our API:
https://api.mydomain.com/validate?id=x&email=y&key=secret
We tried to set up a hook but we cannot define a hook following an email verification. So my question is: is there a way to implement this on top of the Auth0 existing features? We don’t want to do this functionality using redirect URL.