title: Error in Request from rails to grails
body: <p>I am using grails application(with spring security) to receive a request from Rails side. Here I am sending the email and password from rails which I have to authenticate and render success to rails side from grails side.</p>
  
  <p>But it is returning error code to rails side eventhough the email and password are correct.</p>
  
  <p>In grails side the authentication is failing, but the email and password are correct.</p>
  
  <p><a href="http://localhost:8080/users/sign_in.json?authenticity_token=9xGv8c3FoAt8wfOmQ2kQDx0VNwMlRWoM5Y7Pw+54nZ/bk/L7gNv80PMrctfYzgIIDq2Q==&amp;user[email]=ajith.b@voonik.com&amp;user[password]=" rel="nofollow noreferrer">http://localhost:8080/users/sign_in.json?authenticity_token=9xGv8c3FoAt8wfOmQ2kQDx0VNwMlRWoM5Y7Pw+54nZ/bk/L7gNv80PMrctfYzgIIDq2Q==&amp;user[email]=ajith.b@voonik.com&amp;user[password]=</a>*******  </p>
  
  <p>the above url (grails one) is rendering json data as expected.</p>
  
  <p><a href="http://localhost:4000/users/sign_in.json?authenticity_token=9xGv8c3FoAt8wfOmQ2kQDx0VNwMlRWoM5Y7Pw+54nZ/bk/L7gNv80PMrctfYz8q7VM/YOm89OJIIDq2Q==&amp;user[email]=ajith.b@voonik.com&amp;user[password]=" rel="nofollow noreferrer">http://localhost:4000/users/sign_in.json?authenticity_token=9xGv8c3FoAt8wfOmQ2kQDx0VNwMlRWoM5Y7Pw+54nZ/bk/L7gNv80PMrctfYz8q7VM/YOm89OJIIDq2Q==&amp;user[email]=ajith.b@voonik.com&amp;user[password]=</a>*******</p>
  
  <p>where as this one(from rails) is not returning when i redirect it to grails side.</p>
  
  <p>The code i am using for filtering the /users/signin url is:</p>
  
  <pre><code>    grails.plugin.springsecurity.apf.filterProcessesUrl='/users/sign_in.json'
  grails.plugin.springsecurity.apf.postOnly = false
  grails.plugin.springsecurity.apf.usernameParameter = 'user[email]'
  grails.plugin.springsecurity.apf.passwordParameter = 'user[password]'
  </code></pre>
  
  <p>Can anyone tell where the authentication is failing???</p>