eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.87k stars 2.48k forks source link

registerUriHandler is not implemented #13169

Closed mathis-girault closed 2 weeks ago

mathis-girault commented 9 months ago

Feature Description:

The function registerUriHandler is not implemented in theia. It is defined in the VS code API.

This is needed to handle callbacks to theia through URIs, for example when creating an extension using GitHub OAuth.

tsmaeder commented 9 months ago

@rschnekenbu this API is not marked as stubbed, that's why it does not appear on the comparator output. Can we put this on the backlog for API-compat?

rschnekenbu commented 8 months ago

@tsmaeder, I will take over this task. Can you assign it to me please? Thanks!

npreiser commented 3 months ago

I tested out the pull request today and its it not working with our handler for auth0. Has this been tested/used yet?, thanks. Would love to get this working in our theia project if possible. We are using electron, not (browser) . Can someone show an example implementation. I am able to see calls into the new classes, but it still failing on the redirect

tsmaeder commented 1 month ago

Note that according to https://www.electronjs.org/docs/latest/tutorial/launch-app-from-url-in-another-app, we'll need some help from the packages in order to make this work on Linux/MacOS