Skip to content

[Doc Update] fix: remove refreshToken during logout process #492

@github-actions

Description

@github-actions

📝 Documentation Update Needed

A pull request was recently merged that may require documentation updates.

Source PR

PR Summary

This PR fixes a critical bug where the application would freeze or enter an infinite redirect loop when a user clicked "Sign Out". The fix updates the authentication hook to explicitly remove the refreshToken along with jwtToken during the logout process.

Changes Overview

  • Updated useAuth.ts to explicitly remove the refreshToken along with jwtToken during logout
  • Fixes application freeze and infinite redirect loop on sign out
  • Critical authentication flow bug fix

Files Changed

1 file changed in the authentication module (useAuth.ts)


Action Required: The technical documentation writer agent will review this PR and identify specific documentation pages that need updates, then create a PR with the necessary changes.

/cc @technical-doc-writer

AI generated by scan-merged-prs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions