The bot may fail to because the current CSRF token is invalid. Then a new one should be generated.
(This is important with T139842: Restartable bot framework as CSRF token is not always persistent.)
The bot may fail to because the current CSRF token is invalid. Then a new one should be generated.
(This is important with T139842: Restartable bot framework as CSRF token is not always persistent.)
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T229364 CSRF token issues (tracking) | |||
| Open | None | T139842 Restartable bot framework | |||
| Invalid | None | T199643 Generate a new CSRF token if the old one is invalidated |
We should use action=checktoken for a token validation, but I'm not sure, where to put this check. It needs to check before every write/relogin action I think
Was already implemented in api.Request._badtoken() with rPWBCffb2242 due to T61678. Therefore I cannot reproduce this task. Was is a compat issue?