laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

After update to 4.9.1 /api/broadcasting/auth is called 3 times but every call fails with status 419 and push notifications are not working anymore #415

Closed mauthi closed 2 years ago

mauthi commented 2 years ago

This is a bug.

Prerequisites

Description

After login / reload I see the following in my console:

image image

In addition to that I don't get any toast message or pusher updates anymore - I think this is related to that?

Maybe the error is related to https://github.com/laravel-enso/enso/issues/351?

aocneanu commented 2 years ago

Hi Mauthi,

This is fixed in v5.0.

The culprit for v4.x is this commit https://github.com/laravel-enso/core/commit/8ee62af14fac8a5db4d1a0ba1217316738578503

Before upgrading to v5.0, you can either extend the Meta in the local project and bind it to the container, or make sure you require an older version of core, that has the csrf token included.

mauthi commented 2 years ago

Updated to 5.0.0 today and it works. Thx!