Skip to content

fix(auth): resolve login redirection and persistent session issues Send email - #3

Merged
Syntax-Error-1337 merged 6 commits into
masterfrom
Send-Email
Feb 24, 2026
Merged

Syntax-Error-1337 merged 6 commits into
masterfrom
Send-Email

Conversation

@Syntax-Error-1337

@Syntax-Error-1337 Syntax-Error-1337 commented Feb 24, 2026 •

Copy link
Copy Markdown
Owner

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Verified?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

This commit addresses the following:
- Adds @tanstack/react-query and react-error-boundary for state management and resilience.
- Refactors App.tsx to use React Router v6.4+ Data API (createBrowserRouter).
- Fixes an issue where successful login did not redirect to the dashboard.
- Modifies authMiddleware to drop the Secure flag on localhost to prevent proxy issues.
- Adds Cache-Control headers to /api/session to avoid browser caching of 401s.
@Syntax-Error-1337
Syntax-Error-1337 merged commit e31f483 into master Feb 24, 2026
1 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.

1 participant