Open gormux opened 5 years ago
We have JWT integration at my company using this plugin. I've noticed that the normal guacamole client will not support multiple "authorized" sessions in the same browser session.
I think it's related to how Guacamole caches credential tokens, and that when a new session is open it somehow overrides the old credential. It's related to session state as far as I can tell.
Hopefully you find a solution!
So, you use another client ? If so, is it available to the public, or is it internal ?
Hi! can we pass the authToken in Headers instead of URL?
Hello,
I use this auth plugin to make a custom portal. I can open a session to a computer, no problem. But if I open a second session, the first one disconnects.
I use the "normal" guacamole client : http://my_guacamole:8081/guacamole?token=%s&&GUAC_DATA_SOURCE=jwt&GUAC_ID=%s&GUAC_TYPE=c&GUAC_USERNAME=%s where token is obtained via /guacamole/api/token GUAC_ID is randomly generated, and GUAC_USERNAME obtained from the token answer of the API.
Using a very basic client (this one : https://github.com/aiden0z/guacamole-auth-jwt/issues/1), I don't have the issue.
So I suppose the "normal" guacamole client does not like something in the way I use it, but I cannot find what. Maybe it does not support using different usernames in the same browser ?
I can open multiple connections using multiple browsers, so I'm pretty sure the guacamole client is the cause.
Is this a known issue ? Are there other people using this auth plugin and the normal guacamole client ?