Uploaded image for project: 'Commenting'
  1. Commenting
  2. COMMENTING-28

Create comment POST throws 401 on public instance / anonymous

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Critical
    • None
    • 1.0
    • None
    • Magnolia 6.2.1

    Description

      When creating a comment with a POST request to:

      /.rest/commenting/v1/comment

      with body:

      { "mgnlWorkspace": "website", "mgnlId": "b06b82a2-74b0-4994-8015-028c4fd60716", "text": "testing travel anonymous", "authorChoice": false, "abuseReport": false, "numLikes": 0, "numUnlikes": 0, "rating": 0, "userName": "ebguilbert", "userEmail": "edwin.guilbert@magnolia-cms.com" 
       }

      Throws HTTP 401 Aunahtorized.
       
       
       
      This only happens on Public instance with anonymous. The anonymous user has been granted GET/POST web access on /.rest/* and still same issue.
       
      On Author instance or Public with logged-in user works just fine.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              amanzoni Adrien Manzoni
              ebguilbert Edwin Guilbert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD