{"action":"closed","issue":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/130","labels_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/130/comments","events_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/130/events","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/130","id":56389213,"number":130,"title":"Unpermitted parameter: session","user":{"login":"rmagnum2002","id":849748,"avatar_url":"https://avatars.githubusercontent.com/u/849748?v=3","gravatar_id":"","url":"https://api.github.com/users/rmagnum2002","html_url":"https://github.com/rmagnum2002","followers_url":"https://api.github.com/users/rmagnum2002/followers","following_url":"https://api.github.com/users/rmagnum2002/following{/other_user}","gists_url":"https://api.github.com/users/rmagnum2002/gists{/gist_id}","starred_url":"https://api.github.com/users/rmagnum2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmagnum2002/subscriptions","organizations_url":"https://api.github.com/users/rmagnum2002/orgs","repos_url":"https://api.github.com/users/rmagnum2002/repos","events_url":"https://api.github.com/users/rmagnum2002/events{/privacy}","received_events_url":"https://api.github.com/users/rmagnum2002/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-02-03T15:06:31Z","updated_at":"2015-02-05T09:00:44Z","closed_at":"2015-02-05T09:00:44Z","body":"Hi, I get this error when signing in, tried a couple of hours to understand what is wrong and no luck, I even thought to override the devise_token_auth/session controller to permit session param too, but that will be the last thing to do unless I find something better:\r\n\r\n```bash\r\nStarted POST \"/api/auth/sign_in\" for 127.0.0.1 at 2015-02-03 17:01:19 +0200\r\nProcessing by DeviseTokenAuth::SessionsController#create as HTML\r\n  Parameters: {\"email\"=>\"myemail@gmail.com\", \"password\"=>\"[FILTERED]\", \"session\"=>{\"email\"=>\"myemail@gmail.com\", \"password\"=>\"[FILTERED]\"}}\r\nUnpermitted parameter: session\r\n  User Load (0.8ms)  SELECT  \"users\".* FROM \"users\" WHERE (uid = 'myemail@gmail.com' AND provider='email')  ORDER BY \"users\".\"id\" ASC LIMIT 1\r\nCompleted 401 Unauthorized in 16ms (Views: 6.7ms | ActiveRecord: 2.7ms)\r\n```\r\n\r\n```ruby\r\nrails 4.2.0\r\ndevise_token_auth 0.1.31\r\n```\r\n\r\nWhere this session param comes from and what do I do about it. Previous issues related to this didn't helped at all.\r\nThank you."}}