Auth frontend: login, verify, session, and logout - #48
Open
RandyJDean wants to merge 1 commit into
Conversation
This was referenced Jul 9, 2026
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Graphite Automations"Request reviewers once CI passes" took an action on this PR • (07/10/26)2 reviewers were added to this PR based on Henry Chen's automation. |
RandyJDean
force-pushed
the
07-09-auth_wire_spring_security_spring_session_jdbc_end_to_end
branch
from
July 31, 2026 17:24
37bcb7f to
81d33d2
Compare
RandyJDean
force-pushed
the
07-09-auth_frontend_login_verify_session_and_logout
branch
from
July 31, 2026 17:24
94387bf to
90a5199
Compare
RandyJDean
force-pushed
the
07-09-auth_wire_spring_security_spring_session_jdbc_end_to_end
branch
from
July 31, 2026 18:17
81d33d2 to
3c0452c
Compare
RandyJDean
force-pushed
the
07-09-auth_frontend_login_verify_session_and_logout
branch
from
July 31, 2026 18:17
90a5199 to
253efb0
Compare
- apiFetch now unwraps the ApiResponder envelope (typed payloads, server-authored error messages) and states the cookie contract with credentials: same-origin; sample MSW mock updated to match - New features/auth/: Login page (email -> generic check-your-email panel), Verify page (POSTs the emailed token once on mount with a StrictMode guard; routes shell accounts to /sign-up), and hooks — useSession (moved from lib/api as its comment mandated; 401 resolves to null), useRequestLink, useVerifyMagicLink, useLogout - RequireAuth redirects signed-out visitors to /login and incomplete profiles to /sign-up; AppLayout gains a Log out button - Router mounts /login and /auth/verify under the public layout - Test infra: auth MSW handlers composed into the server, MemoryRouter initialEntries support; page + guard tests cover the happy paths, expired links, and shell redirects Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
RandyJDean
force-pushed
the
07-09-auth_frontend_login_verify_session_and_logout
branch
from
August 10, 2026 18:15
253efb0 to
b9d583f
Compare
RandyJDean
force-pushed
the
07-09-auth_wire_spring_security_spring_session_jdbc_end_to_end
branch
from
August 10, 2026 18:15
3c0452c to
3707e71
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




server-authored error messages) and states the cookie contract with
credentials: same-origin; sample MSW mock updated to match
panel), Verify page (POSTs the emailed token once on mount with a
StrictMode guard; routes shell accounts to /sign-up), and hooks —
useSession (moved from lib/api as its comment mandated; 401 resolves
to null), useRequestLink, useVerifyMagicLink, useLogout
profiles to /sign-up; AppLayout gains a Log out button
initialEntries support; page + guard tests cover the happy paths,
expired links, and shell redirects
Co-Authored-By: Claude Fable 5 noreply@anthropic.com