0 Replies Latest reply on May 13, 2019 5:27 AM by satyam@spglobal.com

    How to send authentication headers in osapi request

    satyam@spglobal.com

      Hi Team Jens Goldhammer Gopi GorantalaGopi Gorantala

      Matt Johnson Jonathan Block

       

      Is there a way to include authentication headers in an osapi call here:

       

      osapi.jive.core.get({

          href: "/Myservice",

          headers: {

             // include auth headers

          }

      })

       

      We are looking to get the admins of a particular space and display it to an end user in a custom view tile for which we need the below API to get entitlements information for spaces, but this seems to only work for Jive Admins, so is there a way we can pass in auth headers in the request so that it can be validated as coming from an admin:

       

      /places/xxxxxxx/appliedEntitlements?count=100

       

      Thanks,

      Satyam.