Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3710

Authentication is failing in the cookbook demo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0
    • None
    • None
    • None
    • Android 2.3.3 and Android 4.x

      Right now Android posts the following:

      {"password":"123","loginName":"john"

      to

      http://controller-aerogear.rhcloud.com/aerogear-controller-demo/login

      and receives

      HTTP/1.1 400 Bad Request

      {"error":"AG_CONTROLLER000010: Parameter: 'password' was missing from Request"}

      Steps to reproduce:

      Install the cookbook demo
      Select "How to Use Authentication"
      Select "Login"

      Expected behavior: The screen should indicate that you are logged in and logout should be an option

      Actual Behavior:
      The Toast pops up with an error saying the server returned 400.

            danielpassos Daniel Passos (Inactive)
            supittma@redhat.com Summers Pittman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: