Angular (single solution) .NET 5 Abp 6.6.2
Hi,
I recently upgraded my app to activate hangfire and twofactor auth (also added MVC controllers to be able to log in and have access to hangfire dashboard) While everything was working well on development server, I realize in production that impersonation and switching to a linked account was not working anymore.
Host and Angular are in the same server and within the same domain
Currently, when I try impersonation, I'm automatically logged out. Same behavior if I try to switch to another account.
I'm seeing a redirection to index.html before being logged out... and this was not happening previously.
I've tried several things (like deactivating hangfire) but I still have the same behavior.
Can you please help me fixing this ? I'm not very confortable with that parts of the app :/
2 Answer(s)
-
0
So I found a ticket mentioning this issue here : https://support.aspnetzero.com/QA/Questions/10676/Impersonation-does-not-work-when-deployed-to-Azure-as-single-solution#answer-66330984-19de-b804-a427-3a003e99f3d1
The workarround is working
But why this happened ? Is there other impacts linked to this ?
-
0
Hi @Ricavir
I think it is because if you don't add index.html, ASP.NET Core tries to handle the request. As far as I remmebed, this problem is fixed on the previous versions.