Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-3595

Rest login method is ambigous for CAPTCHA

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.3.1
    • 2.3-RC1
    • Integrations
    • None

    Description

      I could have missed something but I don't see a way I can differentiate in REST API between a login failure caused by bad password or CAPTCHA kicking in.

      Crucible /rest-service/auth-v1/login always returns HTTP/403, every time a response body is:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?><loginResult><error>authentication failed</error></loginResult>
      

      That's bad from Atlassian Connector for Eclipse perspective - we can't tell the user to use Web UI and CAPTCHA to unlock REST API.

      Please either change response body to something more meaningful or let's use some HTTP code for this.

      We need to be able to tell the user REST API has been locked.

      Attachments

        Issue Links

          Activity

            People

              tom@atlassian.com Tom Davies
              pniewiadomski Pawel Niewiadomski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h