• Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low
    • None
    • 4.3.0
    • REST
    • None

      Issue Summary

      When using command line, REST API endpoints may fail with an "Application failed to authenticate" error.

      Steps to Reproduce

      The following REST API calls (at least) fail to be executed:

      fkraemer@C02ZX4MTMD6N ~ % curl -u fkraemer -X GET "http://localhost:8095/crowd/rest/usermanagement/1/user/attribute?username=crowd1"
      Enter host password for user 'fkraemer':
      Application failed to authenticate
      fkraemer@C02ZX4MTMD6N ~ % curl -u fkraemer -X PUT -d '{"value":"newpwd"}' "http://localhost:8095/crowd/rest/usermanagement/1/user/password?username=crowd1"
      Enter host password for user 'fkraemer':
      Application failed to authenticate
      fkraemer@C02ZX4MTMD6N ~ %
      

      Notes:

      • Authentication of fkraemer works directly in the browser.
      • The base URL http://localhost:8095/crowd is correct.
      • The user fkraemer is a local Crowd administrator.
      • The user crowd1 is a local Crowd regular user.

      Expected Results

      Authentication works and the REST API call is executed successfully.

      Actual Results

      Authentication fails and the REST API call is not executed.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

            [CWD-5741] REST API authentication fails

            No work has yet been logged on this issue.

              Unassigned Unassigned
              fkraemer Felipe Kraemer
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: