Skip to content

feat: support remember-me on login and fix the login skip redirect#185

Merged
ardetrick merged 3 commits into
mainfrom
feat/login-remember
Jul 11, 2026
Merged

feat: support remember-me on login and fix the login skip redirect#185
ardetrick merged 3 commits into
mainfrom
feat/login-remember

Conversation

@ardetrick

Copy link
Copy Markdown
Owner

Adds a remember-me checkbox to the login screen (unchecked by default) and passes it through to acceptOAuth2LoginRequest, so Hydra establishes a durable login session and sends skip=true on repeat flows. Exercising that previously-unreachable skip path exposed a bug: it redirected back to the original authorization URL, which would replay the request and loop; it now follows the accept response's redirect_to. The login accept moves to the same record/mapper shape as the consent accept. A new Playwright test logs in with remember (consent-remember unchecked), runs the flow again, and asserts the browser lands on consent without the login screen — isolating the login skip. Groundwork for a logout flow, which needs a durable session to terminate.

🤖 Generated with Claude Code

@ardetrick ardetrick force-pushed the feat/login-remember branch from c40b2ef to 1f238ae Compare July 11, 2026 01:55
@ardetrick ardetrick merged commit 8977293 into main Jul 11, 2026
1 check passed
@ardetrick ardetrick deleted the feat/login-remember branch July 11, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant