Teams Desktop App won't load ASP.NET Core + Angular app with windows authentication WebSite Tab
I have an ASP.NET Core + Angular App published with windows authentication, and have been trying to load it in a Teams WebSite Tab, when I click it authentication popup appears, my index.html page is loaded and shown but all other scripts included by this file example: <script src="sample.js"> fail to load reporting a 401 on the server logs.
Why is authentication succeeding on the index.html and failing on the remaining site files. My site works well when called standalone in a browser, IE or Edge or Chrome and everything works fine when accessing teams through the Teams webapp, only fails when using the Desktop App.
Can anyone help me?
Thanks and best regards