Skip to content

fix(dashboard): redirect authenticated login visits - #168

Merged
tomi-stipancik merged 1 commit into
mainfrom
fix/login-authenticated-redirect
Sep 21, 2026
Merged

tomi-stipancik merged 1 commit into
mainfrom
fix/login-authenticated-redirect

Conversation

@cubeorgdev

@cubeorgdev cubeorgdev Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • redirect authenticated /login requests server-side
  • preserve normalized safe callback destinations and avoid /login self-redirects
  • add smoke coverage for default and custom callback redirects

Verification

  • npm run lint
  • npm run build
  • npx --yes node@24 --test lib/*.test.ts
  • tests/e2e/run.sh smoke (13 passed)

Fixes #169

@cubeorgdev

cubeorgdev Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was created from a Blocks session.

View in dashboard | View on desktop

@tomi-stipancik
tomi-stipancik marked this pull request as ready for review September 21, 2026 19:43
@tomi-stipancik
tomi-stipancik requested a review from a team as a code owner September 21, 2026 19:43
@tomi-stipancik
tomi-stipancik merged commit a8ec252 into main Sep 21, 2026
42 checks passed
@tomi-stipancik
tomi-stipancik deleted the fix/login-authenticated-redirect branch September 21, 2026 19:54
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.

Redirect authenticated users away from the login page

2 participants