Replies: 2 comments
-
Hi @susanne99, You can find the detailed explanation here: Laravel Sanctum SPA Authentication. If you have any further questions on the subject, please let me know, and I'll do my best to help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
thank for your answer. i know the manual, an example would be nice. why isn't there more going on here - I'm here at Laravel, right? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use sanctum for authentication in Laravel 11. Works good.
If I have my SPA-VUEJS app open in 2 separate browsers or separate browser tabs, how can I "cleanly" determine that one of the two APPs has logged out - i.e. the cookies are no longer valid.
Of course, there is currently an error in the middleware server.
I would have to be able to check, perhaps using Laravel middleware, whether the program still has valid login data and redirect to the login dialog
Beta Was this translation helpful? Give feedback.
All reactions