OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

API Key / Password support

Open Hakun1n opened this issue 9 months ago • 3 comments

Is there an existing issue for this feature request?

  • [x] I have searched the existing issues

Is your feature request related to a problem?

Hi!

Snapmaker's fork of Orca slicer is missing the physical printer connection management UI (see screenshot below). Simply put we can't add password/API keys to the SnOrca slicer so sending gcode to printer fails on 401-Unauthorized.

Yes, we flashed the Paxx's custom firmware as we needed some extended capabilities/control AND we have network security policy where there can not be an exposed webservice without at least simple PWD protection (aside of VLANs and other things), so we enabled the "Web Authentication".

I assume this will be closed w/o action due to the custom FW but still worth the shot asking as the function/support already exists in the Orca so hope porting that piece of code should not be that much of a hassle?

Image

Thanks!

Which printers will be beneficial to this feature?

Klipper

Describe the solution you'd like

Allow adding Pwd/API key in printer connection settings so SnOrca slicer can fully communicate with protected devices. This already exists in Orca slicer.

Describe alternatives you've considered

We see the relevant parameters being present in "Snapmaker_Orca.conf" (api_key, user, password, ...) but any manual modification gets removed when slicer connects to the printer. Leaving these field manually modified and honoring the parameters would also be acceptable solution.

Additional context

No response

Hakun1n avatar Feb 19 '26 10:02 Hakun1n

Thanks — for Klipper host types the connection dialog only exposes the API Key; user/password are hidden for anything other than PrusaLink, which is why Web Authentication ends in 401. The same hide-path is why manual user/password edits in the config get dropped. Logged as a request; no timeline yet. If API-key auth works for your setup, that's the route available today. See also Feature Requests on the forum (template, votes and comments): https://forum.snapmaker.com/c/feature-request/102

gushanji avatar Nov 13 '26 06:11 gushanji

Hi, well it does not expose the API Key field either. It only asks for IP address for LAN connection, that's it. Then printer shows as "Connected" but Upload fails with following error in moonraker.log if WebAuth is enforced 2026-11-15 13:11:12,055 [web.py:log_exception()] - 401 POST /server/files/upload (xxx.xxx.xxx.xxx): Unauthorized, Force Logins Enabled

More over SnapmakerOrca does not even store the devices in Snapmaker_Orca.conf anymore but in gw_profiles.hive which has different structure?

Hakun1n avatar Nov 15 '26 13:11 Hakun1n

Thanks — both points hold, and they correct what I said earlier: (1) the Klipper/LAN connection dialog only has the IP field; there is no API Key and no user/password field either, so a WebAuth-protected Moonraker endpoint has no way to authenticate today. (2) Device entries no longer live in Snapmaker_Orca.conf — they're stored by the device-connection component in snapmaker_control/data/hive/gw_profiles.hive, which is why editing the conf has no effect. Both are logged: the dialog needs credential fields, and the supported place to edit device config should be made clear. No timeline yet. See also Feature Requests on the forum (template, votes and comments): https://forum.snapmaker.com/c/feature-request/102

gushanji avatar Nov 16 '26 02:11 gushanji