6 Replies Latest reply on May 10, 2015 9:26 PM by pankaj.rajankar

    How to get the 'access token'

    pankaj.rajankar

      Hello everyone,

       

      I have an addon registered through my admin console and have the corresponding client-id and key. I followed this the OAuth 2.0 document  and tried both the ways to get the auth token, but did not succeed. I am most probably skipping some steps.

       

       

      curl -X PUT -x server:port 'https://<URL of site>/community/oauth2/token?client_id=<client.id>&response_type=code'

      curl: (56) Received HTTP code 503

       

      curl -u '<client-id>:<client-secret>' -d'grant_type=password&username=userone&password=psswd1' https://<URL-of-Jive-Service>/oauth2/token

      curl: (56) Received HTTP code 503

       

       

       

      Can you please help,

      Thanks,

      Pankaj.