How to get user reference (id or email) after email verification redirect?

We want to customize user experience after email verification. We were trying to make use of redirect URL, something like this:
http://localhost:3001/api/v1/public/afterEmailVerification?email={{user.email}}

Problem is that we can only use application.name, application.clientID and application.callback_domain. User object is not available in redirect URL.

The question is - how can we send user identifier to our endpoint so we know which user clicked on the verify link?

1 Like