Skip to content

Error on dashboard login: Invalid security or form key. Please refresh the page. #33749

@alitopaloglu

Description

@alitopaloglu

Preconditions (*)

  1. v2.4.3

Steps to reproduce (*)

  1. Install magento v2.4.3 by using composer
  2. Go to /admin_XXXXXX which is a unique admin url that generated by magento
  3. Login with your admin credentials

Expected result (*)

  1. If login successful, it should show dashboard without any error

Actual result (*)

  1. Dashboard loads with an error -> Invalid security or form key. Please refresh the page.
  2. https://www.dropbox.com/s/i5c3epqcuh5mhjw/Screen%20Shot%202021-08-11%20at%2014.42.11.png?dl=0

Network section of browser, filtered by doc

  1. /admin_XXXXXX POST 302 found
  2. /admin_XXXXXX/admin_XXXXXX/index/index/key/XXXXXX/ GET 302 found
  3. /admin_XXXXXX/admin/dashboard/index/key/XXXXXX/ GET 200 OK

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Admin UIComponent: AdminIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S1Affects critical data or functionality and forces users to employ a workaround.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions