339 private Map<String, String> getAuthData(String authType) {
340 return getAuthData().get(authType);
341 }
GET /parse/login { host: 'parseserver-xxxx-env.elasticbeanstalk.com',
'x-real-ip': 'xxxx',
'x-forwarded-for': 'xxxxx',
'content-length': '61',
'accept-encoding': 'gzip',
'content-type': 'application/json',
'user-agent': 'Parse Android SDK 1.13.0 (com.xxxx.xxxx/7) API Level 21',
'x-newrelic-id': 'xxxx==',
'x-parse-app-build-version': '7',
'x-parse-app-display-version': '1.1.3.2',
'x-parse-application-id': 'xxxx',
'x-parse-client-key': 'xxx',
'x-parse-client-version': 'a1.13.0',
'x-parse-installation-id': 'xxxx',
'x-parse-os-version': '5.0.2',
'x-forwarded-port': '80',
'x-forwarded-proto': 'http' } {
"username": "xxx@xxxx.com",
"password": "xxxx"
}
response: {
"response": {
"objectId": "xxxxxxxx",
Issue
Every time I try to login through username/password with a user that was already created on Parse API (before the migration to mongo), I get a ParseException of code -1: java.lang.ClassCastException: org.json.JSONObject$1 cannot be cast to java.util.Map. The debug trace points to line 340 of ParseUser.java:
Prerequisites
Steps to reproduce on Android
Log from Verbose
Here we can see that GET actually returns successfully
Possible Similar Issues