No issues when I ran composer require, but when I go into the UI backend and click revisions in the metadata tab of the inspector it pops up “Your login has expired. Please log in again.”.
In developer tools I can see the ajax is returning a “The security context contained no tokens which could be authenticated.” error.
I checked the policy and settings yamls of the plugin and seems to be all good.
If you get this kind of error you probably installed a package with new policies but your didn’t re-login or flushed the sessions. They might have become invalid for the adjusted security context.
So usually just try to log out and in again.
OK so it was weird. Last time I was getting security context error even after i logged out and back in but today I logged in and it was a different error - db schema. The solution was to just run flow doctrine migrate, which I’ve done and it seems to have fixed.