Closed
Description
Is your feature request related to a problem? Please describe.
v1.17.0 has added JWT authentication. However we would still like to use the legacy API tokens. The user token can be set via the --user-token
CLI flag or LABEL_STUDIO_USER_TOKEN
env var; however, the legacy token is still disabled by default (have to manually enable in the org settings in the web UI).
Describe the solution you'd like
A CLI flag e.g. --enable-legacy-api-token
and corresponding environment variable LABEL_STUDIO_ENABLE_LEGACY_API_TOKEN
to enable the legacy token that was set via --user-token
/LABEL_STUDIO_USER_TOKEN
.
Describe alternatives you've considered
None
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels