Kong / Kong/insomnia

[Bug] Cookies accessed as a tag/function isn't replaced under some circumstances

Open
#1,183 6 comments 1 reaction 0 assignees View on GitHub
B-bug E-good-first-issue N-help
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

- Insomnia Version: 6.0.2
- Operating System: Linux

## Details

I've found a weird corner case when using cookies as a tag/function.

We have short lived cookies (15 minutes) and if don't re-login (to fetch a new cookie) before it expires the tag/function turns red (No cookie with name) and doesn't start working until the cookie is first deleted manual from the cookie jar and then re-fetched.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the expired-cookie case in Insomnia 6.0.2 on Linux: use a short-lived cookie, let it expire, and invoke the cookie tag/function again. Trace the cookie tag/function replacement and cookie-jar refresh behavior; done means an expired cookie is refreshed without manually deleting it first.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.