Kong / Kong/insomnia

Can't copy value of the password field in the basic auth section

Open
#5,811 14 comments 7 reactions 0 assignees View on GitHub
B-bug E-good-first-issue S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

Select the text, press ctrl+c or right click and copy and it should be added to my clipboard.

### Actual Behavior

I can right click and copy, and also ctrl+c, but the value is not added to my clipboard.

### Reproduction Steps

1. Create a request with basic auth
2. Add any text to the password field
3. Try to copy the value

### Is there an existing issue for this?

- [x] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

I understand this might be a "Security" feature, if we were talking about a non dev tool. Insomnia is used to test API's, i should be able to copy values freely.

I'm testing an API, the password has 128 chars, the only way i can retrieve the password now is typing char by char, since i cannot copy it from the input.

### Insomnia Version

2022.7.5

### What operating system are you using?

Windows

### Operating System Version

Windows 11

### Installation method

From insomnia.rest

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at the basic auth section of the request editor and reproduce the password-field copy behavior on Windows. Confirm that selecting the password and using Ctrl+C or the context-menu copy places the value in the clipboard without changing the field's masking behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.