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
I use "standalone" theia in docker on my own server, nginx in front of it and acts as a proxy for HTTPS. I preffer this "lightweigh" solution instead of full Che ir kubernetes, since it perfectly fits my needs. This works well, but it is not secured any way (when I want to work, I start the proxy which is a bit tricky).
So I'd like to use some form of security. I know Theia itself does not solve it (which is OK). I am able to analyze / modify HTTP headers on NGINX. Also I am able to utilize oauth2 server / authorization (nextcloud in my case). I need to join these thing together, but I didn't find any clue how to do it.
My idea is (for example) somehow tell Theia to pass JWT token header in every server request (including WSS protocol switch)? Or any other idea how to secure pure Theia from behind the proxy?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use "standalone" theia in docker on my own server, nginx in front of it and acts as a proxy for HTTPS. I preffer this "lightweigh" solution instead of full Che ir kubernetes, since it perfectly fits my needs. This works well, but it is not secured any way (when I want to work, I start the proxy which is a bit tricky).
So I'd like to use some form of security. I know Theia itself does not solve it (which is OK). I am able to analyze / modify HTTP headers on NGINX. Also I am able to utilize oauth2 server / authorization (nextcloud in my case). I need to join these thing together, but I didn't find any clue how to do it.
My idea is (for example) somehow tell Theia to pass JWT token header in every server request (including WSS protocol switch)? Or any other idea how to secure pure Theia from behind the proxy?
Beta Was this translation helpful? Give feedback.
All reactions