-
Notifications
You must be signed in to change notification settings - Fork 31
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
Conversation
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this 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
2645069
to
1605894
Compare
This reverts commit f066c29.
Description
if 'use token authentication' is set to true, oauth2 authentication is disabled
depends on snyk/snyk-ls#544
Checklist
Screenshots / GIFs
Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!