Activities of "binh.luongthanh@gmail.com"

  • ABP Framework version: v9.1.1
  • UI Type: Angular
  • Database System: SQL Server
  • Deployment: IIS Service

We're trying to host Front-end and Back-end in the same port using IIS Hosting. We're using two separate projects: 1 for the main app's APIs, and 1 for the Authentication APIs (Identity & OpenIddict, etc.).

The issue we're encountering is that when we run the application locally (FE at localhost:4200, BE at localhost:44365, Auth at localhost:44310), everything works just fine. But when we deploying that application into IIS environment, and trying to access the site at the root url (https://www.domain.com:port/), this happens:

  1. The site loads to orgchart endpoint with some query string parameters like code, redirect_urls, etc.
  2. Then it redirects me to https://www.domain.com:port/?iss=<issuer>
  3. Then it redirects me to https://www.domain.com:port/?
  4. And then back to 1, create an infinite redirecting loops.

If I try to stop the application at a specific site (I'm not sure if it's 1,2 or 3), it shows on the console this message:

Could you give me any ideas on which can be the cause of this issue? P/s: We've added some middlewares like UseDefaultFiles, UseStaticFiles and reconfigured web.config for some url rewrite rules to be able to host the frontend inside wwwRoot folder.

Sincerely.

  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Showing 1 to 1 of 1 entries
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.1.0-preview. Updated on December 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.