Fetching bearer-token for a client in embedded device

Hi,

We are installing chirpstack on an embedded device and would like to interact with it using only APIs from a client in the same device.

The challenge is to get the initial bearer token. Is there a way to get the bearer-token without a browser to make subsequent grpc api calls?

For example

Can we fetch bearer token programmaticaly like this

Auth0 tokens: Get Access Tokens.

Regards,
Harsha

Please see chirpstack --help:

Usage: chirpstack --config <DIR> [COMMAND]

Commands:
  configfile
          Print the configuration template
  print-ds
          Print the device-session for debugging
  import-legacy-lorawan-devices-repository
          Import legacy lorawan-devices repository
  create-api-key
          Create global API key
  help
          Print this message or the help of the given subcommand(s)

What you are looking for is probably create-api-key :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.