Support the ongoing development of Laravel.io →

25 Threads

Create Json API with Auth using Laravel Sanctum

I am trying to create an API for getting all posts and creating a post. But the route can only be as...

0 Likes
1 Replies

Wrong user data with laravel sanctum

When I login by API and create token for user returning data are correct, but when I use that token...

0 Likes
1 Replies
Solved
posted 3 years ago

Revoking Sanctum API token doesn't appear to prevent use

Originally raised at https://github.com/laravel/sanctum/issues/272, instructed to move here. Sanctu...

jacobbrassington liked this thread

1 Likes
5 Replies

Getting Laravel Sessions

Is there a way to retrieve all user sessions and sessions for the current login user from the sessio...

0 Likes
1 Replies
Solved

Laravel Sanctum for Mobile

Hi! I'd like to know if there's a way to use just one method (stateless or stateful) for both web an...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

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.

© 2025 Laravel.io - All rights reserved.