Starts in:
2 DAYS
1 HR
55 MIN
26 SEC
Starts in:
2 D
1 H
55 M
26 S
Open Closed

Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter #8094


User avatar
0
serhatuysal created
  • ABP Framework version: v8.3.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello, in the production environment of my application, for POST, PUT, and DELETE requests, I am receiving the following error:

2024-10-14 19:27:00.747 +03:00 [INF] Authorization failed for the request at filter 'Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter'. 2024-10-14 19:27:00.747 +03:00 [INF] Executing StatusCodeResult, setting HTTP status code 400

*..Api.Host application runs in the root directory of IIS, Angular application runs under the root directory /panel path of IIS. (add new pool application)

environment.prod.ts

export const environment = {
  production: true,
  application: {
    baseUrl: '/',
    name: 'BasvuruSistemi',
  },
  oAuthConfig,
  apis: {
    default: {
      url: '',
      rootNamespace: 'BasvuruSistemi',
    },
    AbpAccountPublic: {
      url: oAuthConfig.issuer,
      rootNamespace: 'AbpAccountPublic',
    },
  },
} as Environment;

2 Answer(s)
  • User Avatar
    0
    serhatuysal created

    Help me please

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Is your website running HTTPS?

    Please share the logs.txt file.

    Thanks

    liming.ma@volosoft.com

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06