Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not require token auth with mTLS #378

Merged
merged 4 commits into from
Oct 29, 2024
Merged

Do not require token auth with mTLS #378

merged 4 commits into from
Oct 29, 2024

Conversation

code-asher
Copy link
Member

@code-asher code-asher commented Oct 9, 2024

The strategy: when configuring the cli, write blank token files, since currently the vscodessh command always expects a file. Still need to validate if this works; if not we may need to write something like unused or modify the cli itself.

We configure in two places: login via command palette and dashboard link, so both those code paths are changed to write "" when not using token auth. Additionally, the login route is changed to not prompt for the token (failure to auth will be a hard error instead).

@code-asher code-asher force-pushed the asher/optional-token branch 2 times, most recently from 698f7ff to cc2823b Compare October 9, 2024 23:08
src/commands.ts Outdated Show resolved Hide resolved
src/storage.ts Outdated Show resolved Hide resolved
@code-asher code-asher merged commit 733fbbf into main Oct 29, 2024
2 checks passed
@code-asher code-asher deleted the asher/optional-token branch October 29, 2024 19:35
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.

2 participants