Open Closed

Bug - Clicking 'Log in to application' after email confirmation throws 404 page not found error #5250


User avatar
0
mkinc created
  • ABP Framework version: v7.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): OpenIdDict separate auth server
  • Exception message and stack trace:
  • Steps to reproduce the issue:
    • Log in as host admin
    • Create user
    • Login as the new user
    • In My account -> Personal info, click Verify next to email.
    • Logout of user
    • Click the link in the email
    • [Observe email has been confirmed which can later be verified in the front end for that user]
    • Click 'Log in to application'
  • Expected behaviour: Goes to login page
  • Actual behaviour: 404 page not found error. The link is to the base of the front end app (e.g. in dev for us it's https://admin.localhost:44388/) but this by itself isn't a valid url. It needs to be https://admin.localhost:44388/Account/Login with all the url params that you'd normally get if you navigated to the login page from the main app 'Login' button

Potential solutions:

  • [Best solution?] Make sure the route of the auth server front end application routes to the login page or something?
  • In EmailConfirmationModel make sure the ReturnUrl is set to the _appUrlProvider.GetUrlAsync("Angular") (e.g. for us that would be something like admin.localhost:4200)

Thanks.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Angular Expert

    Hello, I've created an issue for that also I refunded your credit. This issue will fixed at 7.2-patch 🙂

    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 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.