Logout access forbidden

I guess it’s some Login plugin misconfiguration on my side, but can’t figure out. I can login with site.login access account, but then I can’t logout.

If I use login-status.html.twig template, I get:


You don’t have permission to access /task:login.logout/logout-nonce:*** on this server.

If I take URL from login-form.html.twig

{{ uri.addNonce(base_url_relative ~ uri.path ~ '/task' ~ config.system.param_sep ~ 'login.logout', 'logout-form', 'logout-nonce')|e }}

I just get redirected to about:blank#blocked, but still not logged out.

Visually both logout URLs look the same in source

It seems I get this only on local :confused: On production I can logout without a problem. Probably some misconfiguration. Will let you know here if I figure this out