Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-34611

user-token-reset API execution in Nexus Swagger UI returns 'Error: No Content'

    Details

    • Notability:
      3

      Description

      Swagger based API execution for the "/v1/security/users/{userId}/{realm}/user-token-reset" API returns "Error: No Content" response, while the same API responds with "204 No Content" when invoked using other clients like curl. 

      This appears to be solely a problem with displaying the response code in the UI, as the request.log shows a 204 response code and the token is indeed reset. 

      Expectation:

      • Users should get the same response for the token reset API regardless of the way they are invoked.
      • A Successful response should display a "204 No Content" instead of "Error: No Content"

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jkruger John Kruger
            Last Updated By:
            Michael Oliverio Michael Oliverio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                tigCommentSecurity.panel-title