[GH-ISSUE #3701] [bug]: Auth cookies are not removal from selfhost-web after expired it #1283

Closed
opened 2026-03-16 19:37:26 +03:00 by kerem · 2 comments
Owner

Originally created by @shipko on GitHub (Dec 28, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3701

Originally assigned to: @shipko, @balub on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I log into my account, I wait for the expiration of the refresh_token JWT (specified in the REFRESH_TOKEN_VALIDITY parameter). After that, I log into the selfhost-web component and see that my account is still active, but any GraphQL method related with account is not working.

I expect that after expiration refresh token I will be logout and my cookie will be removed.

Steps to reproduce

  1. Log in into my account through selfhost-web component
  2. Waiting for the expiration of the cookie parameter JWT refresh_token
  3. Open page of the selfhost-web component
  4. See that account is still be active.

Environment

Production

Version

Self-hosted

Originally created by @shipko on GitHub (Dec 28, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3701 Originally assigned to: @shipko, @balub on GitHub. ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I log into my account, I wait for the expiration of the refresh_token JWT (specified in the REFRESH_TOKEN_VALIDITY parameter). After that, I log into the selfhost-web component and see that my account is still active, but any GraphQL method related with account is not working. I expect that after expiration refresh token I will be logout and my cookie will be removed. ### Steps to reproduce 1. Log in into my account through selfhost-web component 2. Waiting for the expiration of the cookie parameter JWT refresh_token 3. Open page of the selfhost-web component 4. See that account is still be active. ### Environment Production ### Version Self-hosted
kerem 2026-03-16 19:37:26 +03:00
Author
Owner

@shipko commented on GitHub (Dec 28, 2023):

@liyasthomas I want to fix it. I have solution already

<!-- gh-comment-id:1870808108 --> @shipko commented on GitHub (Dec 28, 2023): @liyasthomas I want to fix it. I have solution already
Author
Owner

@liyasthomas commented on GitHub (Dec 28, 2023):

Feel free to give it a try, and open a PR - I'll assign @balub to review it.

<!-- gh-comment-id:1870855340 --> @liyasthomas commented on GitHub (Dec 28, 2023): Feel free to give it a try, and open a PR - I'll assign @balub to review it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1283
No description provided.