-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running KASM Stand Alone + Nginx Proxy Manager+ Authentik #116
Comments
trying to bypass HTTP Basic Authentication in NPM, I have tried adding the following as Custom Nginx Configuration:
I got the following log on KASM container:
Now Authentication with header does work but the issue remains with WS |
Thanks to this discussion, this worked for Nginx proxy Manager and it connects imediatly.
|
I am interested in running Desktop as a Stand Alone Web Service but i suppose they all function more ore less the same. I made this Docker Compose to try and spin it up:
It does run with errors related to being in Stand Alone and not connected to KASM Workspace. One Environment variable they mention in the documentation is
VNC_PW=password
which in turn is used in Basic HTTP Authentication i assume:Going to
https://<ip>:6901
will get you to the Desktop GUI in your browser and it will work smoothly.Because I like to secure my services even when used to test software I disabled the ports so the service is accessed only through NPM and enable Websockets for the Proxy Host. You will get again to the HTTP Authentication but even with correct cridentials it will error out:
For some reason NPM is not forwarding the cridentials to the KASM Host.
Despite that I did try setting up a Reverse Proxy Authentication in Authentik and tried setting up Basic HTTP Authentication:
Note that
proxy_pass http://authentik.company:9000/
should be changed accordingly for the NPM setup.According to this Websockets issue adding this to the NPM configuration is needed:
or:
However neither did work for me.
How can I put KASM Service behind Nginx Proxy Manager and allow HTTP Basic Authentication to work?
If does not work, Can Basic HTTP Authentication be disabled?
How can I use Authentik reverse proxy authentication with KASM websockets and Basic HTTP Authentication on NPM?
The text was updated successfully, but these errors were encountered: