[SOLVED] SameSite-related errors in pleroma-fe admin page

Hi!

After the latest update of 2023.02 I am getting errors on the admin page of pleroma-fe. Any sub-page I want to access produces this error:

"Request failed with status code 404 - Not implemented"

Looking with the DOM inspector, I see a bunch of these other errors:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“style-src”).
Some cookies are misusing the recommended “SameSite“ attribute 2
Cookie “Admin-Token” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite js.cookie.js:92
Cookie “Auth-Host” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

I am using Firefox dev edition v110.0b9 (64-bit) and Chromium v110.0.5481.100.

Could anyone help? :slight_smile:

Did you also update the front end? If not, that could explain these errors. Instructions for updating should be in the docs.

Yup! I updated pleroma-fe but totally forgot about admin-fe… Thanks!