Skip to content

Conversation

@fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Nov 12, 2025

Netflix uses custom MFA that requires CLI middleware to handle auth flow. The custom CLI implementation on their side intercepts 403 responses from the REST API, handles the MFA challenge, and retries the rest call again. The MFA challenge is handled only by the start and ssh actions. The remaining actions can go directly to the REST endpoints because of the custom header command that provides MFA tokens to the http calls.

Both Gateway and VS Code extension delegate the start logic to the CLI, but not Toolbox which caused issues for the customer. This PR ports some of the work from Gateway in Coder Toolbox.

Netflix uses custom MFA that requires CLI middleware to handle auth flow. The custom CLI
implementation on their side intercepts 403 responses from the REST API, handles the MFA
challenge, and retries the rest call again. The MFA challenge is handled only by the `start`
and `ssh` actions. The remaining actions can go directly to the REST endpoints because
of the custom header command that provides MFA tokens to the http calls.

Both Gateway and VS Code extension delegate the start logic to the CLI, but not Toolbox
which caused issues for the customer. This PR ports some of the work from Gateway in Coder Toolbox.
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