Platform-mode door signs in through /_plat/login and out through /_plat/logout #20
Labels
No labels
agent-work
agent-working
ultracode
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-platform/app-template#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
plat-auth 0.45.2 answers two entry points on every app host, before the app:
/_plat/login?rd=<same-host path>(start the edge sign-in, return to the path; BYOD hosts get their nonce planted) and/_plat/logout?rd=<path>(end the host-only session, then the shared one).They exist because a public app (
app.yaml public: true— anonymous readers allowed through so link crawlers can fetch share cards) never triggers the edge login on its own, so its door had no way to sign a customer in; and a BYOD host's session is a host-only cookie only that host can clear.Template: in platform mode (
forwardAuthin the boot payload), the door's Sign in →/_plat/login?rd=<current path>and Sign out →/_plat/logout?rd=/; the SPA's 401 handling offers the same link. App mode unchanged. Tests + the wiki's auth page. (First app wired by hand: otavert/gretchy-stretchy PR #12.)