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

feat: add authentication setting #487

Merged
merged 3 commits into from
Jul 9, 2024
Merged

Conversation

bastiandoetsch
Copy link
Contributor

Description

if 'use token authentication' is set to true, oauth2 authentication is disabled

depends on snyk/snyk-ls#544

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@bastiandoetsch bastiandoetsch requested a review from a team as a code owner July 3, 2024 09:51
@bastiandoetsch bastiandoetsch added the ⚠️ DON'T MERGE Shouldn't be merged yet. label Jul 3, 2024
package.json Outdated
"type": "boolean",
"markdownDescription": "Use token authentication. It is recommended to keep this turned off, as the default OAuth2 authentication is more secure.",
"scope": "window",
"default": false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double-checking, but once snyk/snyk-ls#544 is merged then customers updating to the latest VSCode will need to force upgrade their snyk-ls (since it updates every 4 days) right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will automatically update it, if we increase the protocol version. Probably, we should do that, right?

Copy link
Contributor

@teodora-sandu teodora-sandu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you already know, this doesn't work without snyk/snyk-ls#544. It might be worth waiting until after Tuesday's release to merge this just so we have a bit more time for LS to be updated locally for our customers

if 'use token authentication' is set to true, oauth2 authentication is disabled
@bastiandoetsch bastiandoetsch removed the ⚠️ DON'T MERGE Shouldn't be merged yet. label Jul 9, 2024
@bastiandoetsch bastiandoetsch merged commit f066c29 into main Jul 9, 2024
14 checks passed
@bastiandoetsch bastiandoetsch deleted the feat/IDE-459_add-auth-setting branch July 9, 2024 11:57
bastiandoetsch added a commit that referenced this pull request Jul 15, 2024
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