Project

General

Profile

verifyEmailAddress when using WidgetSet

Added by Alex Schulmann 19 days ago

I'm using Wt's built-in authentication (Wt::Auth) and calling verifyEmailAddress() from my application, which is embedded as a WidgetSet.

The issue is that the automatically generated verification email includes a link like:

https://www.example.com/myapp.js/auth/mail/

I would like to ensure the email link points to the Wt::EntryPointType::Application instead, like this:

https://www.example.com/myapp/auth/mail/

Is there a recommended way to override or configure the base URL used in the verification email so it targets the Application entry point?

Thanks in advance!