Open wadaahmad opened 1 year ago
@dusterio @wadaahmad by any chance this PR get merged, having issues with passport 11
@wadaahmad I tried this fork and the error is still there. Call to undefined method Laravel\Lumen\Routing\Router::middleware()
. I will like to point out that I am using lumen V10.0
@jeanlinux You should disable Laravel Passport Route Passport::$registersRoutes = false;
in your service provider.
Thanks u @wadaahmad , Work !!!
@ekopras18 can you access routes now ? when u disable registerRoutes ?
@ekopras18 can you access routes now ? when u disable registerRoutes ?
yes, but custom this file src/Http/Controllers/AccessTokenController.php
see this https://github.com/dusterio/lumen-passport/pull/182/files
@ekopras18 can you access routes now ? when u disable registerRoutes ?
yes, but custom this file
src/Http/Controllers/AccessTokenController.php
see this https://github.com/dusterio/lumen-passport/pull/182/files
thank you, it works now
Change access_token validation to PersonalAccessTokenFactory
NOTE : You should disable Laravel Passport Route
Passport::$registersRoutes = false;
in your service provider