Add authentication to http server #546

Merged
paratoxic merged 9 commits from router-auth into master 2026-05-19 13:26:10 +00:00
Owner
No description provided.
Add authentication to router
Some checks failed
CI / ckpool (pull_request) Successful in 32s
CI / lint (pull_request) Failing after 2m48s
CI / test-linux (pull_request) Failing after 10m22s
33ef310d10
Tweak
Some checks failed
CI / ckpool (pull_request) Successful in 38s
CI / lint (pull_request) Failing after 2m44s
CI / test-linux (pull_request) Has been cancelled
135b184ba9
Tweak
Some checks failed
CI / ckpool (pull_request) Successful in 35s
CI / lint (pull_request) Successful in 3m27s
CI / test-linux (pull_request) Failing after 11m19s
5b9ea341aa
Solidify
Some checks failed
CI / ckpool (pull_request) Successful in 40s
CI / lint (pull_request) Successful in 2m56s
CI / test-linux (pull_request) Failing after 10m6s
83c781872a
parabit approved these changes 2026-05-18 23:00:51 +00:00
parabit left a comment
Owner

LGTM

LGTM
@ -19,0 +41,4 @@
.route("/ws/logs", get(ws_logs))
.with_state(state);
let (api_routes, admin_routes) = if auth.enabled() {
Owner

This is a bit clunky, but avoids making them mutable like I normally would have, interesting.

This is a bit clunky, but avoids making them mutable like I normally would have, interesting.
Author
Owner

yeah I changed it now

yeah I changed it now
Fix
Some checks failed
CI / ckpool (pull_request) Successful in 41s
CI / lint (pull_request) Failing after 2m53s
CI / test-linux (pull_request) Has been cancelled
9bea20f92d
Tweak
Some checks failed
CI / ckpool (pull_request) Successful in 1m6s
CI / lint (pull_request) Failing after 3m34s
CI / test-linux (pull_request) Failing after 12m5s
1a39bb4699
paratoxic changed title from Add authentication to router to Add authentication to http_server 2026-05-19 13:11:35 +00:00
paratoxic changed title from Add authentication to http_server to Add authentication to http server 2026-05-19 13:14:15 +00:00
Add auth to all http endpoints
Some checks failed
CI / ckpool (pull_request) Successful in 46s
CI / test-linux (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
4461b4c902
Update
Some checks failed
CI / ckpool (pull_request) Successful in 59s
CI / lint (pull_request) Successful in 3m11s
CI / test-linux (pull_request) Has been cancelled
027c6886ba
Consolidate
Some checks failed
CI / ckpool (pull_request) Successful in 37s
CI / lint (pull_request) Successful in 3m9s
CI / test-linux (pull_request) Failing after 23m43s
d706b937cd
paratoxic merged commit 57814d6f20 into master 2026-05-19 13:26:10 +00:00
paratoxic deleted branch router-auth 2026-05-19 13:26:12 +00:00
Sign in to join this conversation.
No description provided.