insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

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

Open arantesxyz opened this issue 1 year ago • 11 comments

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?

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

arantesxyz avatar Feb 28 '23 14:02 arantesxyz

Same here, using m1 mac version 2023.1.0

junedomingo avatar Mar 17 '23 08:03 junedomingo

@arantesxyz I cannot reproduce it. I have tried to copy from the password field and then paste it. Its working.

jbrocksfellas avatar Apr 11 '23 21:04 jbrocksfellas

Same for me. Copy/cut doesn't work for the password field in the Basic auth type. Every other field works well.

Version: Insomnia 2023.1.0
Build date: 3/9/2023
OS: Linux x64 5.19.0-40-generic
Electron: 22.0.0
Node: 16.17.1
V8: 10.8.168.20-electron.0
Architecture: x64

evenfrost avatar Apr 21 '23 16:04 evenfrost

Here's the reproduction video:

Peek 2023-04-21 19-31.webm

evenfrost avatar Apr 21 '23 16:04 evenfrost

This was reported a long time ago and has a fix, can this be merged :/ it's a huge pain in the ass.

vekien avatar Nov 24 '23 16:11 vekien

v8.6.1 still have this problem.

dukeluo avatar Mar 19 '24 15:03 dukeluo

same. sucks.

vfilenga avatar Mar 26 '24 19:03 vfilenga

Same here, mac m1 Sonoma 14.4

kielingraphael avatar Mar 27 '24 14:03 kielingraphael

A work-around I've found on MacOS is to take a screenshot of the text and use the text identification feature to copy the text from the screenshot 😅 Would be nice to just be able to copy though!

Tam avatar Apr 23 '24 14:04 Tam