{"action":"opened","issue":{"url":"https://api.github.com/repos/auth0/ruby-auth0/issues/17","labels_url":"https://api.github.com/repos/auth0/ruby-auth0/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/auth0/ruby-auth0/issues/17/comments","events_url":"https://api.github.com/repos/auth0/ruby-auth0/issues/17/events","html_url":"https://github.com/auth0/ruby-auth0/issues/17","id":63011924,"number":17,"title":"Typo in AuthenticationEndpoints.login","user":{"login":"johnpash","id":150548,"avatar_url":"https://avatars.githubusercontent.com/u/150548?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpash","html_url":"https://github.com/johnpash","followers_url":"https://api.github.com/users/johnpash/followers","following_url":"https://api.github.com/users/johnpash/following{/other_user}","gists_url":"https://api.github.com/users/johnpash/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpash/subscriptions","organizations_url":"https://api.github.com/users/johnpash/orgs","repos_url":"https://api.github.com/users/johnpash/repos","events_url":"https://api.github.com/users/johnpash/events{/privacy}","received_events_url":"https://api.github.com/users/johnpash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-19T15:13:02Z","updated_at":"2015-03-19T15:13:02Z","closed_at":null,"body":"It looks like there is a typo in the [AuthenticationEndpoints.login method](https://github.com/auth0/ruby-auth0/blob/master/lib/auth0/api/authentication_endpoints.rb#L36).\r\n\r\n```ruby\r\ngrand_type: \"password\",\r\n```\r\nshould be:\r\n```ruby\r\ngrant_type: \"password\",\r\n```\r\n\r\nAlso,  [the spec](https://github.com/auth0/ruby-auth0/blob/master/spec/lib/auth0/api/authentication_endpoints_spec.rb#L30) has the same issue.\r\n\r\nI'm able to use the **login** method with no problems, so maybe \"password\" is the default grant_type and this param is ignored?"}}