Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

WSO2 IoT Server is 100% API driven. Therefore, you can create, publish and install the application using the application management APIs. 

Obtain the access token

You can obtain an access token by providing the resource owner's username and password as an authorization grant. It requires the base64 encoded string of the consumer-key:consumer-secret combination. Let's take a look at how it's done.

  1. Encode the client credentials as follows:

  2. Generate the Client ID and the Secret ID.

  3. Encode the client credentials as follows:

  4. Generate the access token using the following command:

The access token you generated expires in an hour. After it expires you can generate a new access token using the refresh token as shown below.

Generating the new access token using the refresh token.

App management APIs

  • No labels