Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST http://localhost:8000/oauth/access_token?
- grant_type=password&
- client_id=weredfsdfsrq341&
- client_secret=dfwefsdf&
- username=test@test.com&
- password=123456
- {
- error: "invalid_request"
- error_description: "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "client_id" parameter."
- }
- Route::post('oauth/access_token', function()
- {
- return AuthorizationServer::performAccessTokenFlow();
- });
- $app['request']->replace(Input::all());
Add Comment
Please, Sign In to add comment