6 Replies Latest reply on Jun 24, 2016 7:56 PM by hcdocs

    X-Jive-Run-As with a federated user

    dtolbert

      Has anyone had any luck using the "X-Jive-Run-As" feature with Federated users. I'm on a Cloud Instance.  I'm able to "X-Jive-Run-As" non-federated users, however I get a 403 with federated users:

       

      Headers: {

      Authorization: "Basic ....",
      Content-type: "application/json",
      X-Jive-Run-As: "username <username>" (Or any other combination: email <email>, etc...)
      }
      

      Payload:

      {
        "content":{
        "type": "text/html",
        "text": "<body><p>Test Post Please Ignore</p></body>"
        },
        "subject": "I want things for free",
        "type": "idea",
        "parent" : "https://community.mySuperAwesomeApp.com/api/core/v3/places/1035"
      }
      

      Response:

      {
        "error" : {
          "status" : 403,
          "message" : "This content type is not allowed in this place or you do not have permissions to create this content"
        }
      }
      

      Only happens when posting to the instance for a federated user.