Return to where you signed in from, and take motion 12.42.2
build-and-publish / build (push) Successful in 1m57s

Post-login landed on the home page. Spring only remembers the pre-login location when it
BOUNCES you off a protected page, but every route here is public — the SPA sends you to the
identity provider itself — so nothing is saved and login defaults to '/'. AuthProvider now
stashes the current path in sessionStorage before the redirect and navigates back once /api/me
confirms the session. sessionStorage, not a query parameter: it survives the redirect chain,
stays in this tab, and cannot be pointed at another site. Sign-in is only ever triggered from
an /admin route, so that is exactly where the reader is returned.

Also merges the motion 12.42.2 bump, which had stayed open on its own PR.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XXKjx7FNyRVAjU8dgB5KhN
This commit is contained in:
2026-07-23 12:34:31 -05:00
co-authored by Claude Opus 4.8
parent e18b730f6b
commit 021dd0db8d
2 changed files with 36 additions and 13 deletions
+10 -10
View File
@@ -8,7 +8,7 @@
"name": "itsthevine-frontend",
"version": "0.1.0",
"dependencies": {
"motion": "12.34.4",
"motion": "12.42.2",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-router-dom": "7.18.1"
@@ -1847,13 +1847,13 @@
}
},
"node_modules/framer-motion": {
"version": "12.34.4",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.34.4.tgz",
"integrity": "sha512-q1PwNhc1XJ3qYG7nc9+pEU5P3tnjB6Eh9vv5gGzy61nedDLB4+xk5peMCWhKM0Zn6sfhgunf/q9n0UgCoyKOBA==",
"version": "12.42.2",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.42.2.tgz",
"integrity": "sha512-5XY9luDiu0oHfHBjpDthFMh0ES+122w6p/papSJBweMkO8Sn+PW2QaEgRblQBpWFnuvZS5qvarpt/hO2pjGmnw==",
"license": "MIT",
"dependencies": {
"motion-dom": "^12.34.3",
"motion-utils": "^12.29.2",
"motion-dom": "^12.42.2",
"motion-utils": "^12.39.0",
"tslib": "^2.4.0"
},
"peerDependencies": {
@@ -2301,12 +2301,12 @@
}
},
"node_modules/motion": {
"version": "12.34.4",
"resolved": "https://registry.npmjs.org/motion/-/motion-12.34.4.tgz",
"integrity": "sha512-J0cuDNRymNzE0M2WY8CFcbQuprHBZwY+iqADKGLLe6kQUVP4kBQ2l7Z6gWK7Zfrt5Wgxs+kCojj4qu7I4wxBIw==",
"version": "12.42.2",
"resolved": "https://registry.npmjs.org/motion/-/motion-12.42.2.tgz",
"integrity": "sha512-Atvv11yUKIid41cVrRBDVX5m8tF8kNpExRSlbpt6APClhDjtwQssgFHhQzejxw7/7YYbjHSPKBVbHo05BuJT5Q==",
"license": "MIT",
"dependencies": {
"framer-motion": "^12.34.4",
"framer-motion": "^12.42.2",
"tslib": "^2.4.0"
},
"peerDependencies": {