Hello, thanks for your video,itsawesome. In my project , the laravel fortify alreadyrhere, at this time i want to combine it with this sanctum for the CRUDapi, is it possible to do that?
Let's say I need to authenticate a user using another website. I don't need my own authentication system since whenever my application is accessed, I redirect them to the other website. In that case, do I need Sanctum or Passport?
It depends on your requirements, Passport provides a full OAuth2 server implementation. If your project need to use OAuth implementation then use Passport. otherwise, the sanctum is a good choice.
easily you can use JWT Auth library github.com/tymondesigns/jwt-auth the mean idea of using JWT it to check user authorization before reaching the database, I don't know why they store the token in database either sanctum or api_token in users table laravel.com/docs/5.8/api-authentication Thanks
Snactum dont work with Nuxt Auth Module, so far now i recomend use Passport..Sanctum Will support con NuxtAuthModule V5.. github.com/nuxt-community/auth-module/issues/737#issuecomment-646885519