You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We derived our own IDE from the theia project version 1.34.4. As one of our adaptions we added an authentication token between the browser and the theia backend based on bearer tokens.
We extended from WebSocketConnectionProvider and have overriden the function createWebSocket to inject an auth token:
We created our own theia plugin called theia-tiger which was able to rebind the existing WebSocketConnectionProvider with our adapted class AuthConnectionProvider before the class was constructed. At the start() method just our AuthConnectionProvider was loaded:
After PR #13082 the WebSocketConnectionProvider was replaced with WebSocketConnectionSource and also its instantiation time is now different:
Our plugin theia-tiger loads later and is not able to rebind the already created socket:
I'm not an inversify expert. I would have the follwing questions:
Would it be possible with some inversify magic to still rebind the WebSocketConnectionProvider in our theia-tiger plugin?
If not how would you suggest to add an auth token to the browsers socket in the current release 1.46.1?
Thanks for your help!
Additional Information
Operating System:
Theia Version: 1.46.1
The text was updated successfully, but these errors were encountered:
We derived our own IDE from the theia project version 1.34.4. As one of our adaptions we added an authentication token between the browser and the theia backend based on bearer tokens.
We extended from WebSocketConnectionProvider and have overriden the function createWebSocket to inject an auth token:
We created our own theia plugin called theia-tiger which was able to rebind the existing WebSocketConnectionProvider with our adapted class AuthConnectionProvider before the class was constructed. At the start() method just our AuthConnectionProvider was loaded:
After PR #13082 the WebSocketConnectionProvider was replaced with WebSocketConnectionSource and also its instantiation time is now different:
Our plugin theia-tiger loads later and is not able to rebind the already created socket:
I'm not an inversify expert. I would have the follwing questions:
Thanks for your help!
Additional Information
Operating System:
Theia Version: 1.46.1
The text was updated successfully, but these errors were encountered: