Open Closed

Abp AntiForgeryOptions not working #3093


User avatar
0
JeffreyKhor created

Hi,

Below is my ABP details information:

ABP Framework version: v4.4.3

UI type: Angular

DB provider: EF Core

Tiered (MVC) or Identity Server Separated (Angular): yes

i had tried following the AntiForgeryOptions documentation as below: https://docs.abp.io/en/abp/4.4/CSRF-Anti-Forgery#abpantiforgeryoptions

and i had put in according to the stated documentation as below:

but the XSRF-TOKEN HttpOnly still false and the Expires/Max-Age still 10 years as below:

what am i missed?

Regards, Jeffrey Khor


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

    hi

    Can you try to check this in Chrome private mode?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00