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 Encode the client credentials as follows: Generate the Client ID and the Secret ID. Encode the client credentials as follows: 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.consumer-key:consumer-secret
combination. Let's take a look at how it's done.