I am developing a plugin in VSCODE and here is what I am trying to figure out
- From within plugin, open the browser with a url, do a sign in and get the response in vscode plugin and then close the browser.
I could do this by using
- vscode.window.createWebviewPanel - This will need a lot of duplicate code to be done on vscode plugin side.
OR could try below
- Use open lib npm - open the browser, but the challenge is I am not sure on how to close the browser and send response to VSOCODE plugin. Is it even possible in vs code ?