mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 17:33:18 +00:00
Consider the following case: The SDK is configured to point to staging, but the user passes a token from production, or viceversa. Since the token is valid in a sense that is valid JWT and contains real data, the CLI will report as a success. The user will then get Unauthorized errors when using the API.