Registering user over an e-mail

JD 1 Reputation point

I have a legacy app that registers user (user first and second name, e-mail and password) with the server. Server accepts registration (creates the login entry in the database) and sends a verification e-mail to the user to verify that the user has requested the registration (http://localhost/account/verify-email?token=7F1A34629233B48AE101B35D16EBA76EDE34D65A626FA7980DFF3233F7A7F1BB340656B352274CCC&DOB=1961-03-24) When the user clicks (upon receiving an e-mail) on the link, it should get routed (route value is account/verify-email) to the the angular VerifyEmailComponent that displays the verification message and then displays login page. My problem is that when the user clicks on the link above it displays a 404 error (page not available). I don't even know where to start investigating the issue. Can somebody help me please?

Internet Information Services
Microsoft Technologies based on the .NET software framework.
3,347 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce ( 55,196 Reputation points

    For the link to work, the server needs to know that /account/verify is not a real page request, but a request to load the angular hosting page instead that will use angular routing to access the component.

    how this is accomplished will depend on the hosting infrastructure.

    1 person found this answer helpful.