feat(frontend): login screen with password and Keycloak, session expiry #96

Open
mariusz.pacek wants to merge 0 commits from mariusz.pacek/feat/auth-frontend AGit into master
pull from: mariusz.pacek/feat/auth-frontend
Owner

Login form plus optional Keycloak button, shown before the app; a 401 from any poller returns to login and back to the same screen; Wyloguj in Stan and the side panel. Builds against the auth API contract of the backend PR.

Login form plus optional Keycloak button, shown before the app; a 401 from any poller returns to login and back to the same screen; Wyloguj in Stan and the side panel. Builds against the auth API contract of the backend PR.
mariusz.pacek added 1 commit 2026-10-24 19:45:21 +00:00
feat(frontend): login screen with password and Keycloak, session expiry
CI / Check (gateway, backend, frontend) (push) Successful in 1m4s
16534ddcee
AuthGate asks api/auth/me before the app starts; without a session the
login screen shows instead of the app and its pollers. The form is always
the way in when Keycloak is down. A 401 from any poller or write sends the
user back to login and, after it, to the same screen. Stan and the side
panel show the user and "Wyloguj".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mariusz.pacek added 1 commit 2026-10-24 20:03:53 +00:00
fix(frontend): login edge cases from review (no-login server, odd oidc codes, 404)
CI / Check (gateway, backend, frontend) (push) Successful in 53s
34b12881b9
Method "none" is signed in without Account or logout; a login screen with
no enabled way in offers a reload; unknown oidc error codes (__proto__)
no longer crash the page; a 404 from login says local login is off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mariusz.pacek added 2 commits 2026-10-24 21:13:44 +00:00
With config.setup the login form becomes "Utwórz pierwsze konto" (a 409
falls back to login). Ustawienia gets accounts: list, add, change own
password (local only), delete with confirmation, not the last one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test(frontend): keep sample passwords out of the secret scan
CI / Check (gateway, backend, frontend) (push) Successful in 53s
eac21b17e2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All checks were successful
CI / Check (gateway, backend, frontend) (push) Successful in 53s
This branch is already included in the target branch. There is nothing to merge.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin refs/pull/96/head:mariusz.pacek/feat/auth-frontend
git checkout mariusz.pacek/feat/auth-frontend
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mariusz.pacek/home-pump#96