Open
Description
I want to replace JWT with Sanctum however it's not that straight forward...
Right now with JWT everything is stateless, meaning that you can consume any api routes from anywhere.
But moving to Sanctum some api routes don't make sense to be api routes, but rather just web routes (login, logout, ouath, verify email).
Because if use the api with a mobile application it would be stateless and would have other api routes for issuing tokens for example.
So the question is do you use the api routes for something more that just the web app ?
And does it make sense to keep the api routes with Sanctum ? Or just move everything to use the default session guard ?
Metadata
Metadata
Assignees
Labels
No labels