Get 'Your login has expired. Please log in again.' when loading flat nav tab
Closed this issue · 2 comments
simonschaufi commented
Neos version: 5.0.5
Logged in as Admin
While the page tree loads fine, when I click on the flat nav tab i created, I immediately get the login screen overlay.
This is my settings.yaml of my package
Neos:
Neos:
Ui:
frontendConfiguration:
Psmb_FlatNav:
presets:
blogPosts:
label: 'Blog posts'
icon: newspaper
type: flat
query: 'q(node).find("[instanceof RobertLemke.Plugin.Blog:Post]").sort("datePublished", "DESC").slice((page - 1) * 20, page * 20).get()'
newReferenceNodePath: 'q(node).find("[instanceof RobertLemke.Plugin.Blog:Post]").first().get(0).path'
newNodeType: 'RobertLemke.Plugin.Blog:Post'
disablePagination: true
paxuclus commented
@simonschaufi I just had the exact same problem.
Simply logging out of the Neos backend (or destroying the current session in general) fixes this problem. The Token used for authentication in the Neos backend is stored in the SessionDataContainer. If you're logged into the backend before installing this package, the old token will still be used until you logout and login again.