How to use Xterm.js to connect to a container

Correct, the operation websocket endpoint only requires the secret to match.

Hello guys
I’m a new LXD user and i want to have a bash terminal for my lxd container using xterm.js