Skip to content

Conversation

@ar2rsawseen
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings December 19, 2025 14:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements functionality to preserve URL hash fragments across OAuth2 authentication flows by storing them in sessionStorage during login and restoring them after successful authentication on the dashboard.

Key Changes:

  • Added hash preservation logic to the login page that stores URL hash in sessionStorage before OAuth redirect
  • Added hash restoration logic to the dashboard page that retrieves and applies the saved hash after OAuth authentication completes

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
frontend/express/views/login.html Captures and stores URL hash in sessionStorage when login page loads to preserve it through OAuth flow
frontend/express/views/dashboard.html Retrieves stored hash from sessionStorage and restores it to the URL after OAuth authentication, then cleans up the stored value

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ar2rsawseen ar2rsawseen merged commit e1f816f into master Dec 19, 2025
10 checks 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.

3 participants