Email Verification Distinct Redirect URL for two different sites within a single application

Hello,

We are encountering an issue with email verification where we need distinct redirect URLs for two different sites within a single application.

Context:

• We have Site #1 and Site #2 on a single application.
• When a user signs up for Site #1, the email verification should redirect to Site #1’s domain.
• When a user signs up for Site #2, the email verification should redirect to Site #2’s domain.

My initial approach was to use an if statement in the Redirect To URL field, but there are limitations as only three variables are supported for that particular field: application.name, application.clientID, and application.callback_domain.

I am struggling to find a way to redirect a specific site to its corresponding URL domain after the account is verified. We are using the Auth0 SDK for .NET.

If anyone has encountered a similar issue or has suggestions on how to resolve this, your input would be greatly appreciated.

Thank you!