Hi all,
glad to join the community, we integrated Auth0 in our app and are really happy with it!
Here what we are currently trying to implement:
- User registers
- User can log in and access some content
- App requires that user validated his email to have full access
- User validates his email
- Auth0 triggers a callback to our server API
- User can access all features
So for the step 5, 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, but only after a credential change, pre and post registration extension points.
So my question is: is there a way to implement this on top of the Auth0 existing features?
Looking forward to reading your advices, best,
Romain