openanalytics / shinyproxy-config-examples

Configuration examples for ShinyProxy
https://www.shinyproxy.io
149 stars 109 forks source link

Q: two applications - one public, one protected #33

Closed ppiecuch closed 1 year ago

ppiecuch commented 2 years ago

I am using Kubernetes backend with corporate ldap authorisation. Would it be possible to have an application in spec that is "public" and does not require any authorisation/authentication? I am using my custom build of shinyproxy/containerproxy and I guess I could also make some modification to the code to have that functionality if someone could point me where I should start :)

Thank you in advance Pawel

LEDfan commented 1 year ago

Hi @ppiecuch

This is indeed currently not supported by ShinyProxy. The reason is that this is more complex than you may think. For example, a few issues that came up when designing such a feature:

The above code should give you some hints if you want to start working on this nevertheless.

I agree this is a useful feature, but it requires some refactors in the ShinyProxy and ContainerProxy code so that's why currently we don't plan to work on this. I'll keep this feature open as a feature request.

ppiecuch commented 1 year ago

Thank you for keeping this topic open. Yes I have also noticed that this could be a non-trivial change and solved my problem outside of the ShinyProxy eventually.

LEDfan commented 1 year ago

Hi, I see that we also have an issue about this in the shinyproxy repo, see https://github.com/openanalytics/shinyproxy/issues/330 . Therefore, I'm going to close this issue.