kubeshop / vscode-monokle

An extension for Visual Studio Code to validate your Kubernetes configuration
https://marketplace.visualstudio.com/items?itemName=kubeshop.monokle
MIT License
6 stars 0 forks source link

Introduce login via device flow #25

Closed f1ames closed 1 year ago

f1ames commented 1 year ago

This PR adds device flow as auth method to VSC extension.

I kept "Token" auth method as well, but we can remove/hide it if needed.

Also the VSC "pop-up" is a bit ugly, but I haven't found better way really. Plain notification which is shown in bottom, right corner may be easily missed.

monokle 20230817-2 It still uses dev API which is a reason for error visible on the end.

Changes

Fixes

Remarks

Checklist

f1ames commented 1 year ago

@WitoDelnat please take a look. It should be enough to switch URLs when device flow is integrated with rest of the Cloud envs.