Open Closed

No webpage was found for email-confirmation #3351


User avatar
0
agilmore created

Choose to verify your email address on "Personal Info" screen.

Click on "Confirm my email address" in "Email Confirmation" email.

No webpage was found for the web address: https://localhost:44322/account/email-confirmation?userId=1d5964fd-4cbb-11ae-9f7e-39fdf8e2bf0c&__tenant=&confirmationToken=CfDJ8GiBbaXh295E....

appsettings.json in HttpApi.Host project:

"App": { "SelfUrl": "https://localhost:44322", "AngularUrl": "http://localhost:4200", "CorsOrigins": "https://*.App.com,https://localhost:44307", "RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307" },

ConfigureUrls in AppHttpApiHostModule:

    private void ConfigureUrls(IConfiguration configuration)
    {
        Configure<AppUrlOptions>(options =>
        {
            options.Applications["MVC"].RootUrl = configuration["App:SelfUrl"];
            options.Applications["MVC"].Urls[AccountUrlNames.PasswordReset] = "account/reset-password";
            options.Applications["MVC"].Urls[AccountUrlNames.EmailConfirmation] = "account/email-confirmation";
            options.Applications["Angular"].RootUrl = configuration["App:AngularUrl"];
            options.Applications["Angular"].Urls[AccountUrlNames.PasswordReset] = "account/reset-password";
            options.Applications["Angular"].Urls[AccountUrlNames.EmailConfirmation] = "account/email-confirmation";
            options.RedirectAllowedUrls.AddRange(configuration["App:RedirectAllowedUrls"].Split(','));
        });
    }

I added

            options.Applications["MVC"].Urls[AccountUrlNames.PasswordReset] = "account/reset-password";
            options.Applications["MVC"].Urls[AccountUrlNames.EmailConfirmation] = "account/email-confirmation";
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    I added options.Applications["MVC"].Urls[AccountUrlNames.PasswordReset] = "account/reset-password"; options.Applications["MVC"].Urls[AccountUrlNames.EmailConfirmation] = "account/email-confirmation"

    Hi,

    You don't need to do it, just remove those, and it should work.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    agilmore created

    Ok.

    That fixed this issue:

    But then, after being redirected to the login screen and signing in, I get redirected to the swagger page:

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    We had this problem before, it was fixed in the next version, can you upgrade to 5.3.1 and try again?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.