Skip to content

Validate that required AUTH_TOKEN environment variable is not null #1905

@szokeasaurusrex

Description

@szokeasaurusrex

If the AUTH_TOKEN environment variable is null, and no --auth-token is supplied as a command line argument, the API requests requiring auth token authentication will fail with a 403 error. For these commands, we should locally validate that either the AUTH_TOKEN environment variable or the --auth-token command line argument is provided. And print a message that none was provided instead of making the request without it.

Metadata

Metadata

Labels

No labels
No labels
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions