Before a new user and account can be created on Cyclr, a Console admin user OAuth token must be obtained.

The token request should be POSTed in a application/x-www-form-urlencoded content type.

POST /oauth/token
client_id Your Client Id, obtained from Console > Settings > OAuth Client Credentials
grant_type The string “password“
username A Console Administrator’s username
password The Console Administrator’s password

Example response:

200 OK
     "access_token": "0000000000000000000000000000000000000000000000000000000000000000",
     "token_type": "bearer",
     "expires_in": 1209599,
     "refresh_token": "0000000000000000000000000000000000000000000000000000000000000000",
     "userName": "",
     "clientId": "00000000000000000000000000000000",
     ".issued": "Wed, 06 Dec 2017 15:31:50 GMT",
     ".expires": "Wed, 20 Dec 2017 15:31:50 GMT"

Store the returned tokens for future use. The access token is used to authenticate all other Cyclr API requests, the refresh token can be used to get a new access token when it expires. See API Authentication.

How to Create an Account

Tags: installing
Edit me