Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

quill's avatar
Level 1

Laravel Breeze API => I always get logged out

Im using Laravel Breeze with a vanilla react as frontend. I get logged out after some time and i have to clear cookies before i can sign in and use the app. What could be the problem?

0 likes
1 reply
cheoiiii's avatar

Uhhh. You say you get logged out after some time 🤨 ... Maybe it's because your access token is expired! Check your generate access token function, you will see the lifetime of your access token.

Please or to participate in this conversation.