Skip to content

Support Studio authentication and add project-level tokens#118

Merged
joefreeman merged 11 commits intomainfrom
studio-auth
Feb 3, 2026
Merged

Support Studio authentication and add project-level tokens#118
joefreeman merged 11 commits intomainfrom
studio-auth

Conversation

@joefreeman
Copy link
Collaborator

This updates the authentication to support Studio-issued tokens. The COFLUX_NAMESPACES environment variable must be set to a comma-separated list of the Studio team IDs that will be allowed access. A login command has been added to the CLI to authenticate with Studio.

Additionally, the support for server-managed tokens has been updated so that tokens are managed by individual projects, and a group of tokens commands have been added to the CLI for managing them. The COFLUX_SECRET environment variable must be set (to a random string) for signing tokens. And, mainly to bootstrap things, a COFLUX_SUPER_TOKEN can be set to a SHA256-hashed token. By default authentication is required, but can be disabled by explicitly setting COFLUX_REQUIRE_AUTH to "false".

For Studio and project-managed tokens, the principal (i.e., user) is associated with actions (such as starting runs).

@joefreeman joefreeman merged commit f426014 into main Feb 3, 2026
1 check passed
@joefreeman joefreeman deleted the studio-auth branch February 3, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant