Can I wake up the desktop version of my Theia application via browser like VSCode?


I’m trying to find a way to wake up the desktop release version of my Theia application because I added a login module that opens the default browser’s OAuth login and is then woken up by the browser.

But sadly I couldn’t find any documents to refer to. The Theia-blueprints don’t seem to have this feature. :cry:

Hi @inlann,

in theory Theia is just as much of an electron app as VSCode is. Therefore, you should be able to use the same mechanism VSCode is using. I’m not aware of any service implementation in Theia that’s already taking care of that, but nothing stops you from adding it to your Theia extension.

If you want to add it as a general feature, contributions are always welcome :slight_smile:

We are trying to implement it using electron’s app.setAsDefaultProtocolClient api. It looks like we need to modify the ApplicationManager module.

We’d love to make a contribution when we are done.


We implemented this feature and ready to contribute to Theia :smiley:

More details on:

1 Like