Skip to content

fix(auth): honor safe login return paths - #75

Open
rissrice2105-agent wants to merge 1 commit into
profullstack:masterfrom
rissrice2105-agent:fix/login-next-redirect
Open

fix(auth): honor safe login return paths#75
rissrice2105-agent wants to merge 1 commit into
profullstack:masterfrom
rissrice2105-agent:fix/login-next-redirect

Conversation

@rissrice2105-agent

Copy link
Copy Markdown
Contributor

Summary

  • preserve the internal next destination after a successful login
  • fall back to /account for missing or external redirect values
  • add regression coverage for valid and unsafe return paths

Fixes #74

Testing

  • full web Vitest suite: 16 files, 61 tests passed
  • TypeScript typecheck passed
  • git diff --check passed

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.

Login drops the protected-page return path

1 participant