How to switch from jwt-auth to sanctum

Solved
danib8888

Nov 4th, 2021 09:07 AM

Hey,

I want to use laravel new api feature sanctum. What I need to change in my wave configuration in order to shift to laravel sanctum?

bobbyiliev

Nov 4th, 2021 01:37 PM

Best Answer

Hi there,

This is a good point, I might look into changing this in the future so that we could have Sanctum by default. Though I might wait for Laravel 9 to be out first in a couple of months and then build upon that.

For the moment, I don't think that this can be done out of the box. I could suggest going through this video here on how to use Sanctum:

Best,

Bobby