Guest User

Untitled

a guest
May 24th, 2018
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. POST http://localhost:8000/oauth/access_token?
  2. grant_type=password&
  3. client_id=weredfsdfsrq341&
  4. client_secret=dfwefsdf&
  5. username=test@test.com&
  6. password=123456
  7.  
  8. {
  9. error: "invalid_request"
  10. 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."
  11. }
  12.  
  13. Route::post('oauth/access_token', function()
  14. {
  15. return AuthorizationServer::performAccessTokenFlow();
  16. });
  17.  
  18. $app['request']->replace(Input::all());
Add Comment
Please, Sign In to add comment