Open Closed

Cannot login in 2 tabs because of Anti Forgery #8072


User avatar
0
portx-dev created

① You are logged in and have two tabs open in your browser. ② If you log out of tab 1, you will also be logged out of tab 2. ③ If you enter the correct user and password in tab 1 and log in, you will be able to log in. ④ If you enter the correct user and password in tab 2, you will get a 400 error.

I tried setting AutoValidate = false but it still doesn't solve this problem. https://abp.io/docs/latest/framework/infrastructure/csrf-anti-forgery

  • ABP Framework version: v8.2.2
  • UI Type: Angular
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello ,

    I have tried to reproduce your issue , it works fine at my end. you may check this Sample Application

    Please provide me details steps to reproduce issue or screenshots , logs of error so that I can better assist you.

    Thank you.

  • User Avatar
    0
    portx-dev created

    Hello ,

    I have tried to reproduce your issue , it works fine at my end. you may check this Sample Application

    Please provide me details steps to reproduce issue or screenshots , logs of error so that I can better assist you.

    Thank you.

    The reproduction sequence I described at the beginning, below is the error screen image

  • User Avatar
    -1
    Anjali_Musmade created
    Support Team Support Team Member

    Can you please share error logs so that I can better assist you.

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