Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5025

JWT token should be treated as value for REST response, not an attribute

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 4.4.1
    • None
    • None
    • None

    Description

      When responding to JWT endpoint, response contains token as an attribute:

      <JWT token="value" />
      

      or property prefixed with underscore

      {
          "JWT": {
              "_token": "value"
          }
      }
      

      Given that token is an integral and important part of response, it should be passed as value:

      <JWT>
          <token>value</token>
      </JWT>
      

      or

      {
          "JWT": {
              "token": "value",
          }
      }
      

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              pawel.niedzielski@ibexa.co Paweł Niedzielski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: