Send an email address verification email show wrong redirect url

Hi,

I have this redirect url expression below on verification email template and it work when new user sign up.

https://sandbox-{% if application.clientID == ‘xxxx’ %}candidate{% else %}profile{% endif %}.pulsifi.me/email/check-verified?email={{ user.email }}

But,
When i trigger resend verification email via api below,
https://auth0.com/docs/api/management/v2/#!/Jobs/post_verification_email

It does not work and always fall back to else case

Please help.

1 Like

Can you post an example of the management API request you are making?

Hi,

After have a look on the existing payload we sent as below:
{
“user_id”: “xxx”,
}
i think we did not pass in the client_id along from the application.

Am i right as long we include client_id in the payload as below, everything should work as expected.
{
“user_id”: “xxx”,
“client_id”: “yyy”
}

You should send the client ID in the request to the management API. Is that also not working for you?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.