Bosch IoT Device Management - will be discontinued by mid 2024

Create a Suite Auth client

Each call to our services needs to be authorized. This authorization is happening via tokens, created from a Suite Auth client. This page explains how to create such a client via the Bosch IoT Suite UI.

Create a Suite Auth client

Each call to our services needs to be authorized.
In this case, you will use the Suite Auth approach provided by Bosch IoT Suite.

To do so navigate to the Bosch IoT Suite UI and:

  1. Select OAuth2 clients from the left sidebar.

  2. Click the + button on the right.

    images/confluence/download/attachments/1634787991/tutorials-helloWorld-provisioning-oauth2-1.png
  3. Set a Name.

  4. Set a Client secret.

  5. Select the Organization Scopes. You must select only one organization scope.

  6. Select the Service scopes.

  7. Click Save to store the entries.
    images/confluence/download/attachments/1634787991/tutorials-helloWorld-provisioning-oauth2-2.png
    You will then be redirected to the OAuth2 clients page, where your new client will be already selected.
    images/confluence/download/attachments/1634787991/tutorials-helloWorld-provisioning-oauth2-3.png


    Moving forward, whenever you need a token, this client can create a new one.

    Create a token (JWT)

    1. Select the Open context menu button of this particular client.

    2. Click Use access token - this will generate a token (JWT) which is valid for 720 minutes.

      images/confluence/download/attachments/1634787991/tutorials-helloWorld-provisioning-oauth2-4.png
    3. In the Use access token blade that opens up from the right you can copy an access token created with your new client from Test access token.
      Keep in mind that this token is intended for testing purposes and will expire after 720 minutes.