Angular and API are hosted on different websites, we did not know that it is possible to host it on the same website. So now that we know it, it is possible to consider it for the future and that's why I decided not to change the HomeController. However, the same result can be achieved by changing the HomePageUrl in appsettings.json. With the changed HomePageUrl it is now working again.
Yes, the app works. Seems like it is only the redirection that is not working
We are using JWT Token, without asp.net core!