yassine
How to do the guacamole login in the back-end?
i want to display the terminal of my remote device inside my phoennix application using Apache Guacamole, so i added an iframe inside my code:
<div id="ssh-container" class="mb-2">
<iframe src="xxxx.com" id="terminal-dev" name="terminal-dev" height="500px" width="100%" title="terminal-dev"></iframe>
</div>
so, my question is: how i can do the auth in the backend and pass the login here for displaying just the next page after this? i tried to do it by sending a login request in the back-end with javascript but without any result.
Most Liked
focused
I made similar system with Guacamole, and i did it by including credentials directly into url
http://x.x.x.x:8080/guacamole/#/client/AySBkZWZhdy0xMFMAYwQmFyY28gRFWx0?username=user&password=password
You need to know the token of the device to use this link, but you can try to include username and password to get access to devices index, something like http://x.x.x.x:8080/guacamole/#/?username=user&password=password.
I hope it will help you.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance










