3 Replies Latest reply on Mar 10, 2014 9:56 AM by speranta

    Impersonation via API addon configuration

    mark.sivill

      Hi,

       

      We are looking to use OAuth2 REST API Impersnnation with a jive addon and only want to test this locally (rather than getting it published) at the moment

       

      What setup is needed in the jive addon to allow a system user to impersonate another user via the REST API using OAuth2. We only want to do some local testing at the moment for this functionality.

       

      Our definition.json is -

       

      {

          "templateCategories": [],

          "templates": [],

          "tiles": [],

          "integrationUser": {

              "systemAdmin": "true",

              "runAsStrategy": "id",

              "jiveServiceSignature": ""

         }

      }

       

      Currently we get a very large java exception when we try to upload the package.

       

      We have managed to get a custom addon working without impersonate functionality, it's definition.json is -

       

      {

          "templateCategories": [],

          "templates": [],

          "tiles": [],

          "integrationUser": {

          }

      }

       

      We are currently working against jive Version "8.0.0.0 8c1"

       

      Any pointers on this would be great.

       

      Thanks

       

      Mark