Uploaded image for project: 'Poulpe'
  1. Poulpe
  2. POULPE-524

Extended REST auhtnetication result

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.1 Swallows
    • Fix Version/s: None
    • Labels:
      None

      Description

      When authenticating user via REST Poulpe should distinguish the following two use cases:

      1. Requested user cannot be found by username provided
      2. Requested username exists, but provided password hash does not match expectations

      I believe we can return we same response code for compatibility sake. Response text, however, should clearly indicate the difference for the client to know the reason for authentication denial.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jk1 Evgeniy Naumenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Structure Helper Panel