-
Re: Jive Federated user creation using cURL
Sachin Patil Feb 9, 2017 2:27 PM (in response to Sachin Patil)could you please help
-
Re: Jive Federated user creation using cURL
rashedtalukder Feb 9, 2017 3:08 PM (in response to Sachin Patil)Taking a look at our documentation: Jive REST API v3.14 → Person service ,
You'd send a POST request to https://{{yourJivedomain}}/api/core/v3/people with the JSON body described above at a minimum.
You will also need to have a system level access token: OAuth 2.0—Creating a Client and Managing Access
content-type would be application/json
-
Re: Jive Federated user creation using cURL
Sachin Patil Feb 9, 2017 3:48 PM (in response to Sachin Patil)Thanks for reply
I got following error
HTTP/1.1 401 Unauthorized
Server: Apache
X-Jive-Request-Id: 90d69500-ef21-11e6-a03a-005056a429f3
X-Jive-Flow-Id: 90d69501-ef21-11e6-a03a-005056a429f3
X-Frame-Options: SAMEORIGIN
Content-Type: application/json
Expires: Thu, 09 Feb 2017 23:43:32 GMT
Cache-Control: no-store, no-cache, must-revalidate, private, max-age=0
X-JSL: D=7902 t=1486683812431293
Date: Thu, 09 Feb 2017 23:43:32 GMT
Connection: close
Set-Cookie: jive.login.ts=1486683812432; Path=/; Secure; HttpOnly;HttpOnly
Set-Cookie: BIGipServerpool_rsa-preview.jiveon.com=1889906186.20480.0000; path=/
{ "message": "Access token is invalid. Proper authorization header is required." }curl: (6) Could not resolve host: b58o6lao8ho8s4d0j32mzbs8css8a52mtgbtgi28.t
-
Re: Jive Federated user creation using cURL
rashedtalukder Feb 10, 2017 3:05 PM (in response to Sachin Patil)That's an invalid header, since there's a white space, you need to encapsulate it in quotes.
-