So I'm simply trying to use auth.basic to authenticate a single route, but it throws this error: Method Illuminate\Auth\RequestGuard::basic does not exist.
Any help, I've been searching for hours, but I can't find any solution...
I'm trying to use the middleware with the scribe documentation package, but even when trying to setup auth.basic with a route like you do, it throws the same error as described in my first post.
The RequestGuard does not appear to have the basic() method, the SessionGuard however does...
Got it, I needed to set the default guard to web, it was set to sanctum (which I'm actually not using anymore since I implemented Passport). Everything seems to be working perfectly fine now :)