You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: passport.md
+2
Original file line number
Diff line number
Diff line change
@@ -924,6 +924,8 @@ Passport includes an [authentication guard](/docs/{{version}}/authentication#add
924
924
//
925
925
})->middleware('auth:api');
926
926
927
+
> {note} If you are using the [client credentials grant](#client-credentials-grant-tokens), you should use [the `client` middleware](#client-credentials-grant-tokens) to protect your routes instead of the `auth:api` middleware.
0 commit comments