h1 “Sign in to FeeCheck” · one sentence: only invited Google accounts get in
“Sign in with Google” — a link to the backend's /oauth2/authorization/google; Spring Security does the rest. No token ever reaches the app's code.
info line · “Back to the website” link
A deep link opened before sign-in comes back here and returns to it afterwards (#100 AC-4) — the backend keeps the saved request, not the URL.
“Not signed in”
h1 “This Google account has no access” · the address that was used · “no session was started” · how to get invited
<Button variant="primary" as="a"> “Use another Google account” (account chooser) · “Back to the website”
Answered with HTTP 403 and no session. Where the page gets the address from is #201's to settle — never from the URL (it is personal data).
Google's own sign-in page: Google's, not ours.
The website's Login: frontend/site, a link to the app's address (#203).
Sign out: a POST from <SignOutButton> in the shell; the backend ends the session and redirects to the website.
Every other route sits under <AppShell>, whose loader asks GET /api/me. 401 → /sign-in. The backend checks every /api/** call itself; the guard only spares a flash of the shell.