feat(skills): proxy_auth_setup helper for hero_proxy --auth-mode #130
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills!130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_proxy_auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes deploy-side of home#182 canonical mode. Codifies §12.2 of DEPLOYMENT_NU_HERO_OS.md so the runbook's
hero_proxy oauth set+hero_proxy domain add --auth-modeincantations are driven by env vars inenv.sh.The
hero_proxyCLI already exposes everything we need (domain add --auth-mode oauth/bearer/optional+oauth set <name> <provider>), so this is purely a hero_skills wrapper — no hero_proxy code changes.Module
New:
tools/modules/installers/proxy_auth.nuRe-exported from:
tools/modules/installers/mod.nuModes
optional— guest-first, login optional (good for evaluation demos)bearer— single shared secret inAuthorizationheaderoauth— Google (or other provider) redirect flowIdempotent at the CLI level —
hero_proxy domain addupserts on (hostname, mode); re-running with the same args is safe.Companion
The basic-auth nginx variant for the demo path is at PR #129 (
basic_auth_setup). Pick exactly one per deploy.Validation
Parses under
nu -c "use tools/modules/installers *". Runtime test requires hero_proxy + a running domain + DNS.Tracker
home#185.
Signed-off-by: mik-tf
Squash-merged to
developmentasf17e99c. Branch deleted.Pull request closed