Uploaded image for project: 'mod-login'
  1. mod-login
  2. MODLOGIN-129

POST to /authn/credentials accepts empty string for password

    XMLWordPrintable

Details

    • CP: sprint 90
    • Core: Platform
    • Q2 2020

    Description

      A POST request to authn/credentials allows for passwords consisting of an empty string. This should not be permissible.

      POST https://folio-snapshot-okapi.aws.indexdata.com/authn/credentials
      
      {
        "password":"",
        "username":"testy",
        "userId":"011bb48f-6ed3-4e62-b5b1-cf909dc7f8ce",
        "id":"6d924f95-671a-48b8-b0bd-9c0b6c4d448a"
      }
      

      N.B. This also applies to POST authn/update and should be addressed in both places.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                cmcnally Craig McNally
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases