There is workaround to pass these parameters in url as suggested and mimic web client communication and not to send them in a body but I do not know how do to that from Android point of view.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
After some investigation, the problem seems to be in ParameterExtractor
https://github.com/aerogear/aerogear-controller/blob/master/src/main/java/org/jboss/aerogear/controller/util/ParameterExtractor.java
When doing login operation from web intefrace, ENTITY and REQUEST cases in https://github.com/aerogear/aerogear-controller/blob/master/src/main/java/org/jboss/aerogear/controller/util/ParameterExtractor.java#L67 are called.
When doing mobile authentication, since json is sent in body, it seems REQUEST case fails to extract request parameter in extractRequestParam method because there is none, so the exception https://github.com/aerogear/aerogear-controller/blob/master/src/main/java/org/jboss/aerogear/controller/util/ParameterExtractor.java#L114 is thrown there.
There is workaround to pass these parameters in url as suggested and mimic web client communication and not to send them in a body but I do not know how do to that from Android point of view.