Skip to content

Add resource auth login page and route policy editor - #32

Merged
PianoNic merged 4 commits into
mainfrom
feature/31_ResourceAuthFrontend
Apr 17, 2026
Merged

Add resource auth login page and route policy editor#32
PianoNic merged 4 commits into
mainfrom
feature/31_ResourceAuthFrontend

Conversation

@PianoNic

Copy link
Copy Markdown
Member

Summary

  • GET /auth/login redirects to /resource-login when routeId query param present (backend compat with ostiarius redirect)
  • GET /api/public/route-policy/{routeId} anonymous endpoint returning mode + hostname (no secrets)
  • Resource login page at /resource-login: reads routeId + returnTo, fetches policy, renders password form / magic-link request / SSO button / none passthrough based on route auth mode
  • Admin auth policy editor inline on routes page: mode selector, password setter, allowlist email manager, cookie scope dropdown
  • 47 backend tests passing, frontend builds clean

Closes #31

@PianoNic
PianoNic merged commit 3ebbc70 into main Apr 17, 2026
2 checks passed
@PianoNic
PianoNic deleted the feature/31_ResourceAuthFrontend branch April 17, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add resource auth login page and route policy editor

1 participant