Closed ChaimaeELL closed 7 years ago
Which path you're accessing? Could you send a cURL command to reproduce this issue?
$app->post('/oauth/token/refresh',['middleware' => 'auth','namespace' => 'Laravel\Passport\Http\Controllers', 'uses' => 'TransientTokenController@refresh']);
How did you access that URL?
i used postman to access to this url : http://localhost/OAuth/public/oauth/token/refresh with post method
I understand. But which HTTP method?
post method
I think GET will work instead of POST, if you are using POST method you need to create a form with POST method in the view
Refresh token accept PATCH
method. Not POST
. Try using PATCH
and see if the problem still occurred.
i tray to route a route using my access-token but i got this exception Lumen 5.3 OAuth2
thanks you