google / google/grr

CSRF tokens expire and break the web UI

Open
#583 1 comment 0 reactions 1 assignee Claimed by @mbushkov View on GitHub
Dominant language
Python
Stars
5.1k
Forks
796
PR merge metrics
No merged PRs in 30d

Description

If a user has the browser open for more than a day the CSRF token expires and then the UI breaks in mysterious ways - most of the GET methods appear to work ok but POST methods raise Unknown Error. So user will navigate as normal around the UI but when they try to launch a flow it will break with an unknown error.

Its not a big deal but users get the impression that GRR is flaky and its a bad user experience. A full refresh fixes the issue so maybe the GUI should force a refresh if it detects this condition.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.