We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi all πββοΈ
As title says, modifying passport/src/RouteRegistrar.php file:
$this->router->post('/token', [ 'uses' => 'AccessTokenController@issueToken', 'as' => 'oauth.token', 'middleware' => 'throttle', ]);
The text was updated successfully, but these errors were encountered:
Same issue. it would be greate to have names of route to use them in custom controllers like
$request = Request::create('/oauth/token', 'POST', [ 'grant_type' => 'password', 'client_id' => config('services.vue_client.id'), 'client_secret' => config('services.vue_client.secret'), 'username' => $request->email, 'password' => $request->password, ]);
Proble is in
$request = Request::create('/oauth/token', 'POST', [
This route could be prefixed with api/v1 for example, and route names will help to avoid hardcoding of it.
Sorry, something went wrong.
I'm not sure if it'll get merged but you can always try to send in a PR. I can see this being valuable.
No branches or pull requests
Hi all πββοΈ
As title says, modifying passport/src/RouteRegistrar.php file:
The text was updated successfully, but these errors were encountered: