If you are struggling with ‘possible csrf attack detected’ popping up on OpsGenie then you likely need to:

  1. Log off and Log in again. You won’t be able to switch between themes without doing that.
  2. Switch to the old theme. I mean switch off the Dark theme.
  3. Delete cookies and/or re-enable cookies.

The above fixed the issue for me. It was really annoying because the issue would cause all the tabs to go empty making me think there was another issue with my account or team.

Anyway, can’t blame them at the time of writing they did put a BETA tag next to the dark theme!