dusterio / lumen-passport

Making Laravel Passport work with Lumen
MIT License
654 stars 141 forks source link

NotFoundHttpException #63

Closed elviskudo closed 2 years ago

elviskudo commented 6 years ago

Hi, Your system is awesome, but i found an issue if i try to access with http://localhost:8080/oauth/clients result is Unauthorized but if i try to access with http://localhost:8080/oauth/clients/1 result is

(1/1) NotFoundHttpException
--
in RoutesRequests.php (line 226)

do you have any solutions for me? thanks

mapb1990 commented 6 years ago

same problem on POST /oauth/token after update from 5.4 to 5.5

gengjunwu commented 6 years ago

@elviskudo Hi, what method are you using to access http://localhost:8080/oauth/clients? Same questions for http://localhost:8080/oauth/clients/1?

It seems that the second query only has the PUT and DELETE method, there is no GET method for it.

For me, I use GET method for the first query hoping to get all the client, it returns nothing, does this happen to you? BTW, you need to get access token first before you can call GET method with the first URL.

mapb1990 commented 6 years ago

sry, my problem was related with postman/chrome cache. already work