Description
Requested feature:
Moonraker supports 3 differert ways to establish trust in the client:
- The connection comes from one of the specified trusted IP addresses
- The connection provides a secret apikey value
- The connection logs in with a username and password.
Currently mainsail only provides affordance for the first method. This feature request is for support for the second one.
Solves the following problem:
I'm currently working on a project called "octopussy", which implements the moonraker API on top of octoprint so that you can use mainsail/fluidd/klipperscreen/... with non klipper printers. Octoprint provides two ways of establishing trust in a client, which roughly correspond to options 2 and 3 above. Because of this, I'm hoping to not support option 1 in octopussy, as it end-runs around octoprint's normal security measures. That however means that mainsail can't connect to octopussy as of today, so I'm adding support for at least one of the other two methods, so that I can test mainsail against my implementation.
Additional information:
No response