I’ve been learning Laravel on my own for the past couple of weeks and I’ve developed a simple vehicle registration application.
Now I want to add authentication via passport (OAuth2) to the application rather than sanctum.
Details of my Project
Laravel Breeze for Authentication
Blade
Simple CRUD app where users can register vehicles for service
I’ve scoured the internet so far and couldn’t find any up to date resources that could help me ( I’ve actually tried a lot of YouTube tutorials and none of them worked for me as they are very much older)
The most recent error I got from following a YouTube tutorial is this:
The GET method is not supported for route api/auth/login. Supported methods: POST.
This error occurs even when I tried POST method for the api route 🙁
I also tried the official passport documentation, but it is overwhelming 🙁
So now I’m looking for some resources on Passport or someone who can guide me through the authentication process