-
-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: allow api auth with moonraker service #2934
Conversation
Please provide an explanation and or / link to a discussion, even if the change seems obvious. It doesn’t seem any other moonraker users have asked about auth |
Sorry, I submitted to quickly. |
Thanks. So moonraker api uses
? |
Also, thing to check here is that it won’t break non-auth instances… (also assuming it never allows basic auth, which this would also break) |
Thats correct:
Good point, I will spin up another instance without authentication to check this. |
Great thanks. Yea as you can guess I don’t have an instance to test. Thanks for the docs link, yea in this case please update the homepage docs to note the optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for confirming that.
I don't really think this is a bug but since it literally adds 0 code thats cool. Do try to mind the PR requirements (checkboxes you removed) in the future (here and in general).
--------- Co-authored-by: shamoon <[email protected]>
--------- Co-authored-by: shamoon <[email protected]>
…0.8.9@869c800 by renovate (#19065) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/gethomepage/homepage](https://togithub.com/gethomepage/homepage) | patch | `v0.8.8` -> `v0.8.9` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>gethomepage/homepage (ghcr.io/gethomepage/homepage)</summary> ### [`v0.8.9`](https://togithub.com/gethomepage/homepage/releases/tag/v0.8.9) [Compare Source](https://togithub.com/gethomepage/homepage/compare/v0.8.8...v0.8.9) #### What's Changed - Feature: Add list view for custom api by [@​sgrtye](https://togithub.com/sgrtye) and [@​shamoon](https://togithub.com/shamoon) in [gethomepage/homepage#2891 - Change: use Script component instead of async script for custom.js by [@​Cyberbeni](https://togithub.com/Cyberbeni) in [gethomepage/homepage#2901 - Change: move custom.css linking to head to avoid FOUC by [@​Cyberbeni](https://togithub.com/Cyberbeni) and [@​shamoon](https://togithub.com/shamoon) in [gethomepage/homepage#2916 - Enhancement: Add enablePools option to TrueNAS service widget by [@​dstotz](https://togithub.com/dstotz) and [@​shamoon](https://togithub.com/shamoon) in [gethomepage/homepage#2908 - Enhancement: Add requestBody as option for customapi widget by [@​dstotz](https://togithub.com/dstotz) in [gethomepage/homepage#2921 - Enhancement: allow api auth with moonraker service by [@​stevendejongnl](https://togithub.com/stevendejongnl) and [@​shamoon](https://togithub.com/shamoon) in [gethomepage/homepage#2934 - Add Plant-it widget by [@​MDeLuise](https://togithub.com/MDeLuise) and [@​shamoon](https://togithub.com/shamoon) in [gethomepage/homepage#2941 - Chore(deps): Bump systeminformation from 5.21.24 to 5.22.0 by [@​dependabot](https://togithub.com/dependabot) in [gethomepage/homepage#2999 - Chore(deps-dev): Bump eslint from 8.56.0 to 8.57.0 by [@​dependabot](https://togithub.com/dependabot) in [gethomepage/homepage#3000 - Chore(deps-dev): Bump postcss from 8.4.33 to 8.4.35 by [@​dependabot](https://togithub.com/dependabot) in [gethomepage/homepage#3001 - Chore(deps): Bump recharts from 2.11.0 to 2.12.1 by [@​dependabot](https://togithub.com/dependabot) in [gethomepage/homepage#3002 - Fix: support cyrillic characters in quicklaunch by [@​shamoon](https://togithub.com/shamoon) in [gethomepage/homepage#3020 - Fix: docker status labels colors by [@​RoboMagus](https://togithub.com/RoboMagus) and [@​shamoon](https://togithub.com/shamoon) in [gethomepage/homepage#3028 - Enhancement: Add formatting options to weather widgets by [@​benphelps](https://togithub.com/benphelps) in [gethomepage/homepage#3093 - Feature: Add Homebox widget by [@​cadeluca](https://togithub.com/cadeluca) in [gethomepage/homepage#3095 #### New Contributors - [@​Cyberbeni](https://togithub.com/Cyberbeni) made their first contribution in [gethomepage/homepage#2901 - [@​dstotz](https://togithub.com/dstotz) made their first contribution in [gethomepage/homepage#2908 - [@​stevendejongnl](https://togithub.com/stevendejongnl) made their first contribution in [gethomepage/homepage#2934 - [@​MDeLuise](https://togithub.com/MDeLuise) made their first contribution in [gethomepage/homepage#2941 - [@​cadeluca](https://togithub.com/cadeluca) made their first contribution in [gethomepage/homepage#3095 **Full Changelog**: gethomepage/homepage@v0.8.8...v0.8.9 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
--------- Co-authored-by: shamoon <[email protected]>
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Proposed change
Changed the genericProxyHandler to use the credentialedProxyHandler for moonraker instances that uses authorization by API keys.
With the genericProxyHandler you get a 401 unauthorized error on those instances.
Type of change