Replies: 2 comments
-
Many use sanctum or passport without problems, just follow the documentation |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can always use multiple guards for your api endpoints and you are probability using with sanctum guard "auth:sanctum". Just remember that you can attach multiple guards "auth:psk,sanctum". The most important clue is the $guard_name, you must declare it in the model you are using to authorise the request. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Laravel Sanctum utilizes Laravel's
web
authentication guard just as this Spatie package does.Given this fact, when I use Sanctum to authenticate my API, are there any considerations I should take ? I am asking this question following what you stated on your official documentation when using a guard other than this one.
Thank you.
Billal BEGUERADJ
Beta Was this translation helpful? Give feedback.
All reactions