Support the ongoing development of Laravel.io →
Authentication Session Spark
Last updated 1 year ago.
0

Hi all,

It dawned on me that I was doing a get in the Vue mounted event which was happening before the user is authenticated and thus killing the token.

Duh!

I moved the data initialisation trigger to the component that requires the data and I'm all good.

Sorry folks!

Matt

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Matt Glover Matt Glover mattyglover Joined 10 Jul 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.