Laravel Sanctum custom token resolver
By default, Laravel Sanctum uses a bearer token to resolve authenticated users.
But there is a way to modify this behavior by providing a custom callback for sanctum.
·1 min