Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26771

AuthenticationTokensObject POST "token" returns plain text for JSON response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: 11.x
    • Component/s: Authentication

      Description

      The AuthenticationTokensObject defines the return type as 'application/json'.

      However, the createToken POST endpoint returns an unescaped string (a UUID, it is not valid JSON).

      Unable to use the endpoint from web applications because the parsing on the response is broken.

      The response should send valid JSON.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: