{"action":"opened","issue":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/489","labels_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/489/comments","events_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/489/events","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/489","id":124587081,"number":489,"title":"Unpermitted Parameters: confirm_success_url, config_name, registration","user":{"login":"michaelstokes","id":7087915,"avatar_url":"https://avatars.githubusercontent.com/u/7087915?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelstokes","html_url":"https://github.com/michaelstokes","followers_url":"https://api.github.com/users/michaelstokes/followers","following_url":"https://api.github.com/users/michaelstokes/following{/other_user}","gists_url":"https://api.github.com/users/michaelstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelstokes/subscriptions","organizations_url":"https://api.github.com/users/michaelstokes/orgs","repos_url":"https://api.github.com/users/michaelstokes/repos","events_url":"https://api.github.com/users/michaelstokes/events{/privacy}","received_events_url":"https://api.github.com/users/michaelstokes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-02T11:54:01Z","updated_at":"2016-01-02T11:54:01Z","closed_at":null,"body":"Hi, \r\n\r\nI'm new to using devise token auth and ng token auth and I seem to be getting the following error\r\n\r\n```\r\nStarted POST \"/auth\" for ::1 at 2016-01-02 11:47:15 +0000\r\nProcessing by User::RegistrationsController#create as HTML\r\n  Parameters: {\"email\"=>\"email@gmail.com\", \"password\"=>\"[FILTERED]\", \"password_confirmation\"=>\"[FILTERED]\", \"confirm_success_url\"=>\"http://localhost:3000/#/register\", \"config_name\"=>\"default\", \"registration\"=>{\"email\"=>\"email@gmail.com\", \"password\"=>\"[FILTERED]\", \"password_confirmation\"=>\"[FILTERED]\", \"confirm_success_url\"=>\"http://localhost:3000/#/register\", \"config_name\"=>\"default\"}}\r\nUnpermitted parameters: confirm_success_url, config_name, registration\r\nUnpermitted parameters: confirm_success_url, config_name, registration\r\nUnpermitted parameters: confirm_success_url, config_name, registration\r\n   (0.1ms)  BEGIN\r\n   (0.4ms)  SELECT COUNT(*) FROM \"users\" WHERE \"users\".\"provider\" = $1 AND \"users\".\"email\" = $2  [[\"provider\", \"email\"], [\"email\", \"email@gmail.com\"]]\r\n   (0.1ms)  ROLLBACK\r\nCompleted 403 Forbidden in 76ms (Views: 0.3ms | ActiveRecord: 0.6ms)\r\n```\r\nAfter playing around, It seems to happen when your password is less than a length of 8 or if that the account already has been registered but then if this is the case I don't understand the reason for the Unpermitted parameters and also how do I catch the failed response i.e. password length must be 8 or user already registered?\r\n\r\nThank you.\r\n"}}