Open Closed

Abp Angular UI Cant Authorize in Azure Deployment #6547


User avatar
0
alpisala created
  • ABP Framework version: v7.4.4
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: Hi, we deployed our angular abp application to azure using the https://docs.abp.io/en/commercial/latest/startup-templates/application/azure-deployment/azure-deployment?UI=NG&DB=EF&Tiered=No guide.Our api is a app service and our angular ui is on a static web app. Api works, angular works... But we cant Authorize. All the requests returns HTTP ERROR 500. We can acces to index page but whenever we press login in our home page we got this error: here is our environment.prod.ts file: and Http.Api.Host appsettings.json: How can we solve this issue?

4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share the logs of the 500 error requests.

  • User Avatar
    0
    alpisala created

    Oh sorry I didnt realized there was a log for the request here you go.link to my logs

  • User Avatar
    1
    maliming created
    Support Team Fullstack Developer

    hi

    [ERR] An unhandled exception has occurred while executing the request. Volo.Abp.AbpException: Could not find file '/libs/abp/core/abp.css'

    we deployed our angular abp application to azure

    Please run abp install-libs command to restore the resources to wwwroot and then copy the wwwroot to Azure,

  • User Avatar
    0
    alpisala created

    You are the man! It worked, thank you so much.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11